Note: Drupal Commerce 2 includes an upgrade path stretching back to beta1.
To update to the newest version of Drupal Commerce, you will need to update with Composer.
Run the following command. Until Change submodule metadata to use '*' instead of 'self.version' is fixed, this lengthy command is needed.
composer update --with-dependencies drupal/commerce drupal/commerce_price drupal/commerce_product drupal/commerce_order drupal/commerce_payment drupal/commerce_payment_example drupal/commerce_checkout drupal/commerce_tax drupal/commerce_cart drupal/commerce_log drupal/commerce_store drupal/commerce_promotion
Once the Drupal.org infrastructure issue is resolved, the command will be
composer update drupal/commerce --with-dependencies
Please note the
--with-dependencies option. Without this option
specified any needed, contributed projects and libraries will not
update. Only the Drupal Commerce module will be updated.
Run your Drupal updates once all of the dependencies are updated. We
recommend running them on the command line rather than the
update.php script. See the example below.
drupal update:debug drupal update:execute
Found errors? Think you can improve this documentation? edit this page