Skip to main content

Installing Drupal Commerce

Installing Modules

To install EM shop, first you have to download and enable Drupal Commerce modules, then import EM Shop configuration. This procedure requires usage of Composer and Drush.

  1. Use Composer to download Commerce modules.
composer require drupal/commerce
  1. Enable required commerce modules:
drush en -y commerce_checkout em_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/