# Update Theme

## 1. Download the latest version

{% hint style="success" %}

1. Backup your current theme by selecting **Actions > Duplicate** (recommended)
2. Download the latest version&#x20;
3. Install the latest version and **Publish**
   {% endhint %}

<figure><img src="https://2234666448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkZHaeS9kU8K79qrPqZKh%2Fuploads%2FGuJPstZlSHylrt5H8UNQ%2Fpp_duplicate.png?alt=media&#x26;token=b3d17cca-ffbd-4bed-8c73-4738cc3cf113" 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://2234666448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkZHaeS9kU8K79qrPqZKh%2Fuploads%2FIM73jlGM0ZGKdJlayBx2%2FPP_duplicated.png?alt=media&#x26;token=b34f9cbf-fbf3-4bcc-a0f4-f693d8326d9a" 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://content.gitbook.com/content/kZHaeS9kU8K79qrPqZKh/blobs/C6tKY4zxR0UU5YA8VCla/image.png" alt=""><figcaption><p>Copy the entire code on this file</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/kZHaeS9kU8K79qrPqZKh/blobs/HUg7207gODZSNsqnBp7t/image.png" alt=""><figcaption><p>Then paste it into the same file</p></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 file of the new theme.
2. Click **Save** to finish.
   {% endhint %}

<figure><img src="https://content.gitbook.com/content/kZHaeS9kU8K79qrPqZKh/blobs/MRh7mr7eZ4Dn0STs9NU8/image.png" alt=""><figcaption><p>Copy the entire code on this file</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/kZHaeS9kU8K79qrPqZKh/blobs/7DX7uCUkaT1e2lCprSRP/image.png" alt=""><figcaption><p>Then paste it into the same file</p></figcaption></figure>

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

**product.json**

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