Since TheMAG version 3, the package does not come with pre-installed Commerce modules. To install TheMAG shop, first you have to download and enable Drupal Commerce modules and then you should import TheMAG Shop configuration. This Procedure requires usage of Composer and Drush.

  1. Run the Composer from your Drupal root directory to download the Commerce modules:
composer require drupal/commerce
  1. Enable required commerce modules:
drush en -y commerce_checkout themag_commerce_field_group

Configuration import

By default, the commerce configuration is included in all packages. To import the configuration, run drush command depending on the installation package you have used.

If you have composer managed Drupal or Thunder site, run:

drush cim -y --partial --source=../config/shop_config/

If you run standard Drupal site:

drush cim -y --partial --source=sites/default/config/shop_config/

If you have standard Thunder site:

drush cim -y --partial --source=configuration/thunder_config/shop_config/