Shopify themes, liquid, logos, and UX
Hi, I'm trying to customise my collection pages and I want each collection page to have different collapsible FAQ's section. At the moment, I know I can add metafields to create dynamic text on every collection page which is fine, however, I would like to add collapsible FAQs (all different) to each collection page without having to create new and separate templates for each collection.
This is the answer: " I know I can add metafields to create dynamic text on every collection page"
Hi @DAC1
As you already have the metafields for the FAQs on the collection, you can fetch those metafields using for loop and going through each metafield with their value and display those on your collection product grid file.
If you are looking for multi-line fields, you can even use metaobject for FAQ, as it will be easier to integrate all FAQs on a single object and fetch that metaobject from the theme itself.
Hope this helped.
Thank you,
Sajat
-------------------------------------------------------------------------------------------
If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024