Installation

To install TheMAG shop, first, we have to download and enable Drupal Commerce modules and then import TheMAG Shop configuration. This Procedure requires 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

All installation packages include TheMAG commerce config files. A partial configuration import can be done only with Drush. To do that run drush command depending on the installation package you were used.

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

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

If you have standard Drupal site:

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