The Collapsible Files Row section allows you to display downloadable file links inside an expandable row on the product page. A key advantage of this feature is its dynamic metafield connection, ensuring that file links update automatically when a variant is changed.
You can connect metafields at the variant level, so the file changes with each selection, or at the product level, keeping the file consistent across all variants. The section supports up to three files, each with a customizable label—if no label is set, the original file name with its extension will be displayed.
This feature is ideal for providing product guides, spec sheets, certificates, or downloadable resources in an organized and user-friendly way.
1. Create a File Metafield:
2. Assign Files to Metafields:
3. Add the Block in Theme Editor:
4. Configure the Block Settings:
custom.single_file
).5. Save and Test the setup to ensure the file updates correctly when switching variants.