Docs
Updating Zermatt
Updating Zermatt
Update Zermatt module and themes.
When updating Zermatt, both the Maddlen_Zermatt Magento module and all Zermatt-enabled themes must be updated.
Maddlen_Zermatt update
Just run:
composer update maddlen/module-zermatt --with-dependencies
bin/magento setup:upgradeZermatt-enabled themes
Please follow these steps for each theme using Zermatt.
- Go to its
web/zermattdirectory.
package.json
- Compare its
package.jsonfile with the one from Maddlen_Zermatt:vendor/maddlen/module-zermatt/view/frontend/web/package.json. - Manually merge them by making sure you update Zermatt code while keeping your custom one.
- Run
npm update zermatt-core && npm install
vite.config.js
- Compare its
vite.config.jsfile with the one from Maddlen_Zermatt:vendor/maddlen/module-zermatt/view/frontend/web/vite.config.js. - Manually merge them by making sure you update Zermatt code while keeping your custom one.
zermatt.js
- Compare its
zermatt.jsfile with the one from Maddlen_Zermatt:vendor/maddlen/module-zermatt/view/frontend/web/zermatt.js. - Manually merge them by making sure you update Zermatt code while keeping your custom one.
Specific steps
If a specific update procedure is required for a given version, it is specified in the release notes.