Installing Commerce to contribute back? Check out our Getting ready for development guide.
Be sure to review requirements before starting the installation process.
The following command will download Drupal 8 + Commerce 2.x with all
dependencies to the
composer create-project drupalcommerce/project-base mystore --stability dev
Install it just like a regular Drupal site. Commerce will be automatically enabled for you.
binfolder contains any library binaries, such as Drupal Console, PHPUnit, Behat, etc.
webfolder represents the document root.
web, these instructions describe how you can relocate the docroot.
mystorein this case).
Run these commands in the root of your website:
This will also download the required libraries and modules (Address, Entity, State Machine, Inline Entity Form, Profile).
cd /path/to/drupal8 composer require "drupal/commerce"
The instructions below use Drupal Console
drupal module:install commerce_product commerce_checkout commerce_cart
Composer is the recommended way to install and maintain a site. Site administrators using Ludwig need to be careful when combining modules that depend on external libraries, since there are no safeguards against incompatible library versions or overlapping requirements.
These instructions assume you are working with an existing site. See the Drupal.org documentation on Installing Drupal 8 if you do not have an existing site.
Up-to-date Ludwig instructions can be found on the following page Drupal Commerce + Ludwig installation guide
Found errors? Think you can improve this documentation? edit this page