Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
Hi, I though I should look into this too. I'm using the free Ride theme from Shopfiy. Is the above approach the best way to keep my modifications to the theme, while still having access to the updates Shopify rolls out every now and then. Because when they do, my changes are obviously overwritten.
Thanks
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024