Liquid, JavaScript, themes, sales channels
How we can create a child theme in Shopify to avoid removing modifications in the parent theme code?
or any other solution related to updating the parent theme code.
thanks
Hi Ch_Yousuf,
Shopify doesn't have a parent -> child theme system in the same way that other platforms like WordPress do. So when you're updating and modifying themes you'd take a different approach. One reliable way to manage updates safely is to use the Shopify GitHub integration to:
To ensure that changes that you make are not affecting your live store, you'd edit a duplicate of the theme and then once you're ready you can publish that duplicate.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
37 | |
27 | |
14 | |
13 | |
9 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023