From versions older than tf-4.0
This guide shows you how to copy data of the homepage from a version older than tf-4.0 to the latest version.
Please note that upgrade can not bring all advance customization works (modified our theme files or app integration) which are done by 3rd apps, our team, or your team. To avoid any risk, you should create a backup of the current theme first.
You can download our theme again and extract it to see the theme upload package (like when you used the previous version). Please follow some steps below to understand how to upgrade our items from the old version to the new version. it takes only 1 minute to update.
If you have customized the old version (such as hiring a developer to write new features or customizing our theme) so that the upgraded version cannot carry these codes, you will need to migrate all the custom code by hand.
If you buy our themes from ThemeForest, log in to ThemeForest by the account you have used to buy our theme. Then download the latest theme package. If you don't know how to do that, please refer to this page https://help.market.envato.com/hc/en-us/articles/202501014-How-To-Download-Your-Items.
Extract the package you download in step 1, then browse to the "Theme files" folder. Find and upload the theme file corresponding with the current theme on your site. You can refer to this guide to upload a theme in Shopify.
Click the "Actions" button of the old theme, chose "Edit code".
Find and open the "settings_data.json" file in the "config" folder.
Then copy all the content of this file.
Back to Online Store, click the "Actions" button of the new theme which has been uploaded in step 2. Then click "Edit code". Find and open "settings_data.json" in the "config" folder. Replace the content in this file with the content you copied in step 3.
Then find the sections data, find the sections data and remove all sections that have key is not number ( exclude the footer section ). Ex: collection-template, navigation, product-template,...
At the settings_data.json file, cut all remaining sections( exclude footer ). Open templates/index.json in the new theme. Replace all sample data in the sections with your data.
Back to settings_data.json in the new theme, cut all data in "content_for_index", back to templates/index.json in the new theme, replace all data in the "order" part by your data.
Then click the Save button.