Theme Customisations Dissapearing on Update

Vinnydude
Tourist
12 1 1

I'm in the process of building a theme and I've currently got my home page setup using the theme sections.

So in admin, if I go to Online Store > Themes > Customise, I can use that to update various slides and content throughout the home page.

This is great BUT, if I push an update to the theme (using shopify theme push) all of the customisation is being reset!!!


Am I missing something here?! How am I supposed to update my theme without it killing all the options?!

0 Likes
Elias
Shopify Staff
Shopify Staff
1259 123 179

Hey, @Vinnydude.

Thank you for reaching out and posting this question!

I just wanted to help clarify that you're not missing anything, as our guide on updating themes does suggest that the updates do not include the customizations from the previous theme. While there is some work involved when updating a theme, you don't need to recreate anything that is set up through the admin (eg. collections, pages, blogs, or navigations). I understand this isn't ideal and it sounds like more work is involved; however, to summarize, there is only two aspects that you'd need to redo - the customizations in the Storefront editor and any custom coding or app integrations.

That being said, themes usually don't require updating too often and, most of the time, this is done for new features that is needed for the store. Nonetheless, some updates may also be vastly different from their predecessors, so I'm not sure if the ability to keep all the customizations or custom coding/app integrations would yield the same results every time. 

Do you update your theme often and why? Which theme are you currently using?

Elias | 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

0 Likes

@Vinnydude 

This is likely one of the two:

1. You're customizing one theme and previewing another;
2. Your website's cache is loading a previous version of your website.

To fix this, please make sure the theme you are customizing is published (the published theme is the one that shows up first):

diego_ezfy_0-1631668069056.png

 

And, after that, open your website on an incognito page. Each browser has a different way to open up an incognito page. 

You may also want to check out this link with information about published/unpublished themes, and how to preview them accurately. 

Kind regards,
Diego

◦ Slideshow section not looking good? Try the Slideshow (PRO) section. No apps required.
◦ Product page images slider for free themes (w/ 20+ customization options): Minimal | Debut | Brooklyn | Supply
◦ If my answer helps you please click on like and Accept as solution!
0 Likes
Vinnydude
Tourist
12 1 1

A bit of background on this would have been helpful for you!

I'm developing a new theme and I'm using the theme customisation to edit content on the home page.

After digging into this further, the customisation gets stored in the same file as where the blocks are setup, so obviously when I push an update to the theme, it will wipe it.

This means I need to pull down the theme before doing any work on it.

 

Having the content and the cms bundled together like this into one file is not the best at all and I was pretty shocked when I realised that was what was happening.

0 Likes