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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024