# Update Opulent theme

## Create a backup of your current theme

"Make sure to create a duplicate of your work before attempting any theme updates. In case any errors occur, you can utilize the duplicated (backup) version to revert to the original design and functionality."

{% hint style="success" %}
**Steps**

1. In your Shopify admin > **Online store**, click **Actions**.
2. Select **Duplicate**.
3. Rename the copied file.
   {% endhint %}

<figure><img src="/files/WBxW7G1x0vcfjEFKf1nk" alt=""><figcaption></figcaption></figure>

## Get the latest Opulent theme

Check and download the latest version of Opulent from Etsy.

To know how to find and download the theme package

## Upload the new version of Shopify store

{% hint style="success" %}
After preparing the theme file, proceed to upload it to your Shopify store.

Here are the steps:

1. Navigate to your Shopify dashboard and select Online Store.
2. Within the Theme library, choose Add theme > Upload zip file.
3. In the Upload theme window, click on Add file and select the desired file for upload.
4. Finally, hit Upload file to complete the process.
   {% endhint %}

<figure><img src="/files/a7GMs6e64LwaAL0kqssA" alt=""><figcaption></figcaption></figure>

## Move the theme settings

"Follow the steps below to transfer the theme settings to your updated version."

{% hint style="success" %}
**Steps:**

1. Locate your old theme > select **Actions** > **Edit code.**
2. Open the file **Config/settings\_data.json** & copy the entire code on this file.
3. Paste the copied content into the same file of the updated theme version.
   {% endhint %}

<figure><img src="/files/bt5ZEHrEytfhd3qcRYbo" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
4\. Do the same with the **Templates/index.json** file. Copy the entire code from the old theme and migrate it to the updated one.
{% endhint %}

<figure><img src="/files/sq2W1JTKQwui73zow28r" alt=""><figcaption></figcaption></figure>

## Move the translation file

If your store has multilingual languages and you configured the translation files, follow the steps below.

{% hint style="success" %}
Steps:

1. Find your previous theme, then choose Actions > Edit code.
2. Within the Edit code section, locate the Locales folder. Select the desired language for your translation file and make a copy of it.
3. In your updated version, navigate to Actions > Edit code. Add a new locale corresponding to the language you copied earlier.
4. Paste the content from your copied file into the new one.
   {% endhint %}

<figure><img src="/files/umu7oud41NrUvXxWPV5p" alt=""><figcaption></figcaption></figure>

## Move your pages

{% hint style="success" %}
**Steps:**

1. Locate your old theme > select **Actions** > **Edit code.**
2. 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.
{% endhint %}

<figure><img src="/files/Oqe84MuGDimd0diAMnva" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://4sh-templates.gitbook.io/opulent-os2.0/update-opulent-theme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
