# Update theme

## 1. Download the latest version

{% hint style="info" %}

1. Backup your current theme by selecting **Actions > Duplicate** (recommended)
2. Download the latest version on [ThemeForest](https://themeforest.net/downloads)
3. Install the latest version and **Publish**
   {% endhint %}

<figure><img src="https://3542926515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHqcWl0IcgFRM9gKakOEP%2Fuploads%2F758SSnwGV2wctOFkwkJR%2F5.png?alt=media&#x26;token=e77b9de3-222e-44b5-bc4f-13bcfaf713e2" alt=""><figcaption></figcaption></figure>

## 2. Upgrade Theme

{% hint style="danger" %}

* Regarding the app you have installed, you may need to reinstall them. We recommend that you contact the app provider for support as we cannot handle the code of the app.
* If you want to use the latest theme and bring the data from the old version to the new version, here's how you can do it.
* Themes don't update automatically, you need to do it manually
  {% endhint %}

<figure><img src="https://3542926515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHqcWl0IcgFRM9gKakOEP%2Fuploads%2FRvSxxmFCrAQDLGcsS62Q%2F6.png?alt=media&#x26;token=fc5f693b-dbd7-433f-8291-8ffbd6eb8328" alt=""><figcaption></figcaption></figure>

* **Migrate file settings\_data.json**

{% hint style="success" %}

1. Open the old theme. Click **Theme actions -> Edit code -> Open settings\_data.json file -> Copy the entire code on this file.** Then paste it into the same file of the new theme.
2. Click **Save** to finish.
   {% endhint %}

<figure><img src="https://3542926515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHqcWl0IcgFRM9gKakOEP%2Fuploads%2FHLqhmqgrmebj7r0Q1aIz%2F7.png?alt=media&#x26;token=0c26885f-eba6-4c3f-943d-f88f671fac87" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3542926515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHqcWl0IcgFRM9gKakOEP%2Fuploads%2FYt7sRupfKDzw2ZOuZeCR%2F8.png?alt=media&#x26;token=362fd5b5-c4ed-43ff-a4b8-276426ea0d09" alt=""><figcaption></figcaption></figure>

* **Migrate file Index.json**

{% hint style="success" %}

1. Open the old theme. Click **Theme actions -> Edit code -> Open index.json file -> Copy the entire code on this file.** Then paste it into the same
2. Click **Save** to finish.
   {% endhint %}

<figure><img src="https://3542926515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHqcWl0IcgFRM9gKakOEP%2Fuploads%2FwaXYnEFyHOqD0zXep6TX%2F10.png?alt=media&#x26;token=b50a8bd3-f46c-4260-8d5d-97ff0e2dfcfb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3542926515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHqcWl0IcgFRM9gKakOEP%2Fuploads%2FQPBcxjCHUthc2JgalvPe%2F9.png?alt=media&#x26;token=c62c6841-2832-4816-b2cd-0d3517bf32d9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can do the same as you did with list files

**product.json**

**collection.json**
{% endhint %}


---

# 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://qodex.gitbook.io/shopify-docs/getting-started/update-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.
