Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi, there's a bug with the Dawn theme update that removes parts from the website template. The website contains a custom liquid with html code. This liquid was added as a section to the Dawn theme template.
When updating the Dawn theme, the liquid is removed from the template. The liquid file does still exist in the "Edit code" after each update. So the liquid file is copied to the updated theme, but is no longer visible as part of the website. As a result, for every new update, there's manual work to add the custom liquid to the template again.
Does anyone know a solution?
Hi @leo789
When updating the theme, Shopify will add a fresh new theme to your theme's library; it will not have any custom code you added in the old version, so you need to manually add them again in the new theme before publishing it.
Best Regards,
Dan from Ryviu
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is Noah from PageFly - Shopify Page Builder App
Hi @leo789 so you need to store some things.
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
So are you're saying that your template has a "Custom liquid" section and settings for this section are not preserved when updating the theme?
Or preserved but are somehow hidden?
That's interesting... Is it some special HTML or any HTML will trigger this?
Yes, my template has a section containing a liquid, let's call it custom.liquid. After updating my Dawn theme, the liquid/section is removed from the template.
Hi there, @leo789!
You can learn about the aspects of themes that are and are not copied over when updating a theme on our help site.
Specifically, manual code changes would be supported but files in the templates folder would not be.
If you have created a folder in templates yourself then this would not be expected to be copied over in the update and you would need to manually handle this yourself.
Don | Social Care @ 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 the Shopify Help Center or the Shopify Blog
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024