Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, everyone,
I wanted to ask a question. I am trying to update my Yuva theme from version 12.1.0 to version 12.3.1. This is because several bugs are happening in my shop which would seem to be resolved if I update the theme. When I try to add the theme to my theme library, I get the following error:
"an error occurred while copying customisations to the newly updated theme. Please note that any changes to the limits and constraints made to a theme's scheme, such as increasing the limit of blocks in a section or reducing the constraints on adding certain sections, may result in an update error. For more information on how updates work, please visit our support page."
I've tried contacting both shopify support and the theme guys, but there don't seem to be any concrete solutions at least for now. I wanted to find out if this problem can be solved and how. PS: my shopify is full of changes regarding customisations we've made to the theme, like changing the number of maximum boxes or things like that.
Thanks
Unfortunately, there is no simple solution to this.
Say, in your old theme you've changed maximum number of blocks in a section.
For example, original was 4 and you've changed it to 8 and current setting is 6.
When system tries to copy your settings to a new version of theme it encounters and error because it has same limit of 4 and your setting is outside the limits.
Possible solution is to modify theme code to increase these maximums first and them manually move your .json files.
I guess support will refuse to do it for you, you'd need to hire their expert services or a 3rd party developer to help you with this.
If there are other theme code edits these would need to be moved manually too.
This can be a complex undertaking. So maybe it would be easier (cheaper) to fix those bugs you're encountering.
Hi Tim,
thanks for your reply. When you say “Possible solution is to modify theme code to increase these maximums first and them manually move your .json files.” may I know what you mean? I saw that inside in the theme folders (assets, config, etc) there are a lot of .json files but I would like to understand if I have to transport them all.
Thank you very much
JSON files under /config and /templates keep settings you've configured in CUstomizer.
Basically, when theme is autoupdated, the system downloads a new copy of the theme and copies over all these JSONs. However, it does verify that settings there are proper for each section. This is where is starts complaining.
So, to replicate this you'd need to do as I said before -- make theme code changes so that these JSONs will be valid.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024