How do I update the theme?

How do I update the theme?

We are constantly improving and updating our extensions, therefore, we suggest that you always use the latest extension/theme version on your site. 
Info
Please note, the Jet Theme, as a whole, has dependencies - meaning, it's installed and updated in parts.

In composer, those two parts are named amasty/jet-theme (the module part of the template) and amasty/theme-frontend-jet-theme (the frontend part of the template).

Correspondingly, Jet Theme Lite, Pro, or Premium front parts would be amasty/theme-frontend-jet-theme-lite, amasty/theme-frontend-jet-theme-pro, or amasty/theme-frontend-jet-theme-premium. And packages for manual file upload of the Jet Theme are named Jet Theme Backend for Magento 2 (System) and Jet Theme Lite for Magento 2, or Jet Theme Pro for Magento 2, or Jet Theme Premium for Magento 2.

Step 1. Request the main theme package in composer with the command:
composer require amasty/jet-theme:#.#.#   (where #.#.# - numbers of the latest version of the Jet Theme, for example, 1.10.0)

Step 2. After the main package is downloaded, it should be installed. Please run:
php bin/magento setup:upgrade

Step 3. Afterwards, request the download of the front part of the Jet Theme with the command (example for Pro package):

composer require amasty/theme-frontend-jet-theme-pro:#.#.#

Step 4. And then again finish up with this command:

php bin/magento setup:upgrade

The update process might come up with dependency errors, for example, like this: 



In that case, you might need to run the update commands this way:

composer require amasty/jet-theme:#.#.# --update-with-dependencies
php bin/magento setup:upgrade
composer require amasty/theme-frontend-jet-theme-pro:#.#.# --update-with-dependencies
php bin/magento setup:upgrade