Lumin Theme Documentation
LuminThemesAll ThemesContact
  • Lumin Theme theme settings
  • Faq
    • How to change any text in Luminthme
    • How to update your Shopify theme without losing customization
    • How to setup Product Cards Scrolling Tags & Custom Badges
    • How to add Custom fonts
  • Header
    • Set up drop-down or mega menu menus in your online store
  • Lumintheme exclusive
    • Custom color and Image swatches
  • Cart Drawer
    • Enable free shipping bar and change target price
  • Product Page
    • Quantity Breaks Discount
    • Auto generate tabs with the product's content
    • Products Siblings
      • How to setup siblings
      • Step 2 - Collection for siblings
      • Add Siblings Picker block
  • Available page types
  • Sections available in Lumin Themes
  • Color schemes
  • Templates
  • Setting Up and Customizing the Announcement Bar
  • Quantity Breaks Discount on Lumin Theme
  • Adding a Size Chart to Lumin Theme
  • Cart Progress Bar on Lumin Themes
  • Sticky Add To Cart
  • Fancy Text Settings
  • Cart Drawer Settings
  • Lumin Slider
Powered by GitBook
On this page
  • Theme setting
  • settings_data.json = Theme settings header-group.json = Header index.json = Home Page footer-group.json = Footer product.json = Product page
  • Header (header-group.json)
  • Home Page setting (index.json)
  • Footer (footer-group.json)
  • Product Page setting
  • Home Page setting
  • Product Page setting
  1. Faq

How to update your Shopify theme without losing customization

Step-by-Step Guide: How to Update Your Shopify Theme Without Losing Customization

PreviousHow to change any text in LuminthmeNextHow to setup Product Cards Scrolling Tags & Custom Badges

Last updated 4 months ago

Updating your Shopify theme is essential for accessing new features, improving performance, and maintaining compatibility with Shopify updates. Here’s how to update your theme while preserving your customizations:

Step 1: Backup your Shopify theme

Backing up your theme is the first thing that needs to be done.

  1. Navigate to your Shopify Admin tab.

  2. Go to your online store and access the Themes tab.

  3. Click on Actions, followed by Duplicate.

  4. Download the theme to have it as a backup.

Step 2: Upload Shopify theme zip file of newer version. Once this has been done, you can start with the upgrade process.

Step 3: Customize your upgraded theme

The updated theme has no customizations and will not resemble your shop. So, you need to either customize it from scratch or copy the theme’s settings code from your current theme and add it to the new version.

We will be discussing how to copy your old theme’s settings as it is the easier method to use.

Theme setting

Copy your old theme’s settings

You need to copy following JSON files in code editor

settings_data.json = Theme settings header-group.json = Header index.json = Home Page footer-group.json = Footer product.json = Product page

Any other custom template you need to copy and paste corresponding json file.

Theme settings (settings_data.json)

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Config.

  4. Select Settings_data.json.

  5. Copy the entire code (it is quite long).

Paste on the latest version of your theme.

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Config.

  4. Select Settings_data.json.

  5. Paste the code under Settings_data.json on the latest version of your theme.

  6. Test the latest version of the theme and make sure everything is functioning correctly.

Header (header-group.json)

Copy your old theme’s Header settings

  1. In the code editor search ‘header-group’

  2. Select header-group.json.

  3. Copy the entire code (it is quite long).

Paste on the latest version of your theme.

  1. In the code editor search ‘header-group’

  2. Select header-group.json.

  3. Copy the entire code (it is quite long).

  4. Select entire code and paste the code under header-group.json on the latest version of your theme.

Home Page setting (index.json)

Copy your old theme’s Home page settings

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Templates.

  4. Select Index.json.

  5. Copy the entire code (it is quite long).

Paste on the latest version of your theme.

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Templates.

  4. Select Index.json.

  5. Paste the code under Index.json on the latest version of your theme.

  6. Test the latest version of the theme and make sure everything is functioning correctly.

Footer (footer-group.json)

Copy your old theme’s Footer settings

  1. In the code editor search ‘footer-group’

  2. Select footer-group.json.

  3. Copy the entire code.

Paste on the latest version of your theme.

  1. In the code editor search ‘header-group’

  2. Select footer-group.json.

  3. Select entire code and paste the code under footer-group.json on the latest version of your theme.

Product Page setting

Copy your old theme’s Product page settings

  1. In Code editor search for product.json

  2. Select product.json.

  3. Copy the entire code (it is quite long).

Paste on the latest version of your theme.

  1. In the latest theme code editor search for product.json

  2. Select product.json.

  3. Paste the code under product.json on the latest version of your theme.

Step 4: Test that your newly updated Shopify theme works

The next step is to thoroughly test the latest version of the theme and make sure everything is functioning correctly.

  1. Test the theme and go through everything to make sure that it works.

  2. Publish your theme and enjoy the update.

Home Page setting

Copy your old theme’s Home page settings

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Templates.

  4. Select Index.json.

  5. Copy the entire code (it is quite long).

Paste on the latest version of your theme.

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Templates.

  4. Select Index.json.

  5. Paste the code under Index.json on the latest version of your theme.

  6. Test the latest version of the theme and make sure everything is functioning correctly.

Product Page setting

Copy your old theme’s Product page settings

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Templates.

  4. Select Product.json.

  5. Copy the entire code (it is quite long).

Paste on the latest version of your theme.

  1. Go to your Shopify Theme Settings.

  2. Select Action, followed by Edit Code.

  3. Scroll down to where it says Templates.

  4. Select Product.json.

  5. Paste the code under Product.json on the latest version of your theme.

Step 4: Repeat above steps for any other custom template you need to copy and paste corresponding json file.

Step 5: Test that your newly updated Shopify theme works

The next step is to thoroughly test the latest version of the theme and make sure everything is functioning correctly.

  1. Test the theme and go through everything to make sure that it works.

  2. Publish your theme and enjoy the update.