Shopify themes, liquid, logos, and UX
When I attempt to duplicate my current theme, it duplicates but has no content in it. I've tried downloading the theme and uploading it, but get the same result.
Solved! Go to the solution
This is an accepted solution.
I figured this out.
For anyone else dealing with a similar problem of content not populating in a duplicated theme, check your settings_data.json file.
There was in error in the code which did not allow the settings_data.json file to duplicate. So in the duplicated theme, everything else was there but that file was completely missing (which explains why the bones of the site worked, but all of the content was absent).
Having identified the issue here's how I solved the problem:
I attempted to create a new settings_data.json file in the duplicated theme and copy the contents from the same file in the old version of the theme.
When I went to save the new settings_data.json file, Shopify would not allow me to save it and I got an error message which helped to identify and correct the issue in the code.
You have to wait for it to load properly and refresh your browser
This is an accepted solution.
I figured this out.
For anyone else dealing with a similar problem of content not populating in a duplicated theme, check your settings_data.json file.
There was in error in the code which did not allow the settings_data.json file to duplicate. So in the duplicated theme, everything else was there but that file was completely missing (which explains why the bones of the site worked, but all of the content was absent).
Having identified the issue here's how I solved the problem:
I attempted to create a new settings_data.json file in the duplicated theme and copy the contents from the same file in the old version of the theme.
When I went to save the new settings_data.json file, Shopify would not allow me to save it and I got an error message which helped to identify and correct the issue in the code.
I'll add one more reason: look at `layout/theme.liquid`, and see if there's a difference between your original theme's version of that file and the duplicated theme's version of that file. There are several apps that modify this file, and will result in you not being able to see any Body Content on the page (as in the Homepage, Collection Pages, Product Pages, etc). Easy Lockdown is an example of such an app.
The easy way to fix this is to copy-paste the original theme's `theme.liquid` file into your duplicate theme, but I recommend you determine why the Shop Owners installed this app in the first place, and if they want the app to be doing this.
In addition to giving the process enough time to finish, you may want to clear your browser cache and hard refresh that page then try a duplication if it's still not finished.
@GFDA_Store wrote:... it duplicates but has no content in it...
Can you elaborate what you mean by "no content"?
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
I have the same issue and by "no content" I mean the theme is downloading with the bare bones but none of my customised content. It's all blank like a freshly downloaded theme ready to be customised with none of my custom content, pages, images etc are present.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024