Updating Dawn theme removes custom liquid from template

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

This is Noah from PageFly - Shopify Page Builder App

Hi @leo789 so you need to store some things.

Best regards,

Noah | PageFly

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?

1 Like

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.