How To Create FAQs Page for Shopify Theme Dawn | Creating Accordions in Shopify Theme Development

https://www.youtube.com/watch?v=lpR212ihxAQ 1. Create template page.faq.json { "sections": { "main": { "type": "main-page-faq" } }, "order": ["main"] } 2. Create section main-page-faq.liquid <link rel="stylesheet" href="{{ 'section-main-page.css' | asset_url }}" media="print" onload="this.media='all'">…

Continue ReadingHow To Create FAQs Page for Shopify Theme Dawn | Creating Accordions in Shopify Theme Development

How To Create Color Swatches for Product Variants in Shopify (Dawn Theme)

https://youtu.be/tAF-HiXaRLM Copy Below Code and replace with Line: 202, 203, 204 of Sections/main-product.liquid {% if product.variants[forloop.index0].metafields.color.values and option.name == 'Color' %} <label for="{{ section.id }}-{{ option.name }}-{{ forloop.index0 }}" style="background-color:…

Continue ReadingHow To Create Color Swatches for Product Variants in Shopify (Dawn Theme)