You can also limit promotions and special offers to a maximum order value or currency. The discount may be either a fixed amount or a percentage, and they can be assigned to a role, a shipping address, or an e-mail address. The discount can be set for specific products or the entire order. These attributes can be assigned to types and used when adding new products.ĭC provides you with a sub-module that allows you to add bonuses and discounts. There are three display options available: Select list, Radio button and Rendered attribute. Product attributesĪllows you to add attributes to your products. You can find out more about that functionality from Drupal Commerce documentation. You should remember that a product may belong to one or more stores however, an order placed by the user is always assigned to one store.Īnother interesting option is the possibility of creating stores by users on your website, allowing vendors to open their online stores on your platform, as well as create and sell their own products, just like ETSY. These stores may have a country-specific offer but use the same database of all products kept in one place. Adding more store types may be useful if you have a network of brick and mortar stores or branches in different countries. It allows you to define store types your website, “online” is added by default. At first glance, you can see a number of options that were not included in the standard version for D7. The Commerce icon appeared on our main menu. We have launched all the modules for the purpose of testing. After successful set-up, the list of modules will grow by 12 new entries. When using Composer, you don’t have to worry about installing them manually, as they will be added automatically. To install the newest DC, we used the following command: composer require "drupal/commerce"ĭC requires several additional modules ( Address, Entity, Inline Entity Form, Entity Reference Revisions, Profile, State Machine). We did not have any issues with the installation process. Set-up and requirementsĪccording to the manual, it is recommended to install Drupal using Composer set-up requires Drupal 8.5 or newer. For testing purposes, we are going to use DC 2.9 and Drupal 8.5.9 with Droopler distribution (a Drupal distribution created by us to build corporate websites). We'll see what’s new in DC and how it works with D8. On the 20th of September 2017, we saw the release of version 2.0. What’s the way to do it with D8? For a long time, only the alpha version was available, then a beta version was released. Many of the applications were set-up with the Commerce Kickstart distribution, which was based on this add-on. Many Drupal 7-based websites are applications that use Drupal Commerce – an e-commerce module for Drupal. We already got used to the differences between versions 7 and 8, and a lot of websites were created based on D8. It’s been two years since the première of Drupal 8.
0 Comments
Leave a Reply. |