Downloading Previous Commerce Versions
We are ending support for direct CDN downloads in 2023. Previous versions of Commerce will remain available via Composer and Github.
Commerce 3+ #
Specific versions of Commerce can be installed by altering the version constraint for craftcms/commerce
in your project’s composer.json
. Run composer update
to resolve, lock, and install the dependencies. Keep in mind that you may also need to change the root Craft version to maintain compatibility!
Do not manually modify files in your project’s vendor/
directory. They will be wiped out the next time composer install
is run.
Commerce 1 and 2 #
You can download previous Commerce versions directly from the Github repository’s tags page. Version numbers can be found in the sidebar on Packagist and used in this pseudo-template to download a ZIP archive:
https://github.com/craftcms/commerce/archive/refs/tags/{version}.zip
Note that downloading Commerce releases directly still binds you to its license agreement.
Keep in mind Commerce does not support rolling back to previous versions automatically. If you’ve already updated your site past a certain release and want to go back to it, you’ll need to find and restore a database backup that was created with the version you’re going back to.