Installation

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
  1. Unzip and move the "shop_config" directory from the configuration directory in Envato package to your Drupal root directory.
  2. Import the configuration with Drush:
drush cim -y --partial --source=shop_config/
  1. When import finish, you can remove the shop_config directory from a Drupal root.