Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Updating Dawn theme removes custom liquid from template

Updating Dawn theme removes custom liquid from template

leo789
Tourist
3 0 0

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?

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
10253 2037 2107

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 

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- 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.

PageFly-Noah
Shopify Partner
1317 233 277

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.

tim
Shopify Partner
3911 394 1435

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?

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
leo789
Tourist
3 0 0

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.

Don
Shopify Staff
2787 199 398

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