Update Megamog theme
Learn to update Megamog theme automatically and manually
All customization and third-party app snippets will not be kept in the new updated version. Kindly check the customization code and move it to the new updated version accordingly.
For app integration, we suggest you contact the app providers to assist you with installing the apps.
How to update Megamog theme automatically
We highly suggest you use FoxHome - the smart theme manager by FoxEcom to install Megamog theme easily with 1-click.
Steps:
In your FoxHome dashboard, click Manage themes.
In the Out of dated themes list, locate the Megamog theme you want to update and click Update.
If you can't find your theme from the list, select Update unlisted themes.
Click Update now.
FoxHome will duplicate your current theme and update it. The updated version will be added to your Theme library.
What files are kept and what are not when updating the theme automatically
Files will remain after updating:
All sections (including sections that merchants added)
config/settings_data.json
snippets/custom-code-head.liquid
snippets/custom-code-body.liquid
assets/custom.css.liquid -templates/*.son (all json data with OS 2.0)
Assets that you've added (not including JS and CSS)
Alternate template and liquid template
All locale files (including new local and editing ones)
Files will not be carried out after updating:
theme.liquid snippets
Any files created by a 3rd-party app or customized codes from merchants/dev teams.
How to update Megamog theme manually
Create a backup of your current theme
Duplicate your work before attempting any theme update. If errors are encountered, you can use the duplicated (backup) version to restore to the original function and styling.
Steps
In your Shopify admin > Online store, click Actions.
Select Duplicate.
Rename the copied file.
Get the latest Megamog version
Check and download the latest version of Megamog from your Account on FoxEcom website.
Upload the new version to your Shopify store
Once you have the theme file ready, you can upload it to your Shopify store.
Steps:
From your Shopify dashboard, go to Online Store.
In the Theme library, select Add theme > Upload zip file.
In the Upload theme modal, click Add file and select the file you want to upload.
Click Upload file.
Move the theme configuration
Follow the steps below to move the theme configuration to your updated version.
Steps:
Locate your old theme > select Actions > Edit code.
Open the file Config/settings_data.json & copy the entire code on this file.
Paste the copied content into the same file of the updated theme version.
Do the same with the Templates/index.json file. Copy the entire code from the old theme and migrate it to the updated one.
Move the translation file
If your store has multilingual languages and you configured the translation files, follow the steps below.
Steps:
Locate your old theme > select Actions > Edit code.
Find the Locales folder, select the language you want to use, and copy the translation file.
In your new version, go to Actions > Edit code and Add a new locale with the language you've copied.
Paste the content to your new file.
Move your pages
Steps:
Locate your old theme > select Actions > Edit code.
In the Templates folder, copy the .json files with a green dot and move them to the new updated theme.
Tip: Files with the green dot are the files you have changed.
Last updated