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?!
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?
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):
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.
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.
Did you ever find a solution?
I was hoping that I can do a theme update for a theme I am also developing that will retain all the settings. If there are no settings for any settings added, it should just set those new settings to the defaults.
Unfortunately not I'm afraid.
The only advice I can give is if you are making updates on a theme, make sure you pull it down before starting work.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022