Installing the Drupal Commerce from Configuration
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.
- Run the Composer from your Drupal root directory to download the Commerce modules:
composer require drupal/commerce
- Enable required commerce modules:
vendor/bin/drush en -y commerce_checkout themag_commerce_field_group
Importing Configuration
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:
vendor/bin/drush cim -y --partial --source=../config/shop_config/
If you use legacy Drupal package:
vendor/bin/drush cim -y --partial --source=sites/default/config/shop_config/