Drupal Commerce 2.0

Last month, Drupal Commerce released version 2.0 of its system. While this may be unexciting to most people, as a developer this removes a large amount of hassle from setting up Drupal commerce sites which is usually a lengthly process. 

What is Drupal commerce 2.0?

We at Moore-Wilson use Drupal - having everything bundled together streamlines the process, and gives us direct control over everything rather than having to send API calls, for example, to other 3rd party sites. Drupal commerce allows users to add products to thier cart, use a checkout system and has full integration with card payment services such as Paypal and WorldPay. 

Drupal Commerce 2.0 is the recently upgraded version of Drupal Commerce, which has some major changes to make commerce sites not only more lightweight, but faster to get started with.

So, what’s new?

A large number of things have been changed, so I’ll only cover a few:

  • Promotions and Coupons are out of beta! They have had a full UI redesign making it easier to set them up and get going. Coupons used to be one of the most time-consuming things to set up and apply rules for, however the new update makes this process very simple.
  • For you backend developers out there, the API has been updated so that new payment methods can be added in hours rather than days. There are also now over 30 different supported payment gateways to show the flexibility of commerce 2.0.
  • Finally, Taxes have had a major rework as well. You can now set your own custom tax rates and while I’m not sure on the legality behind this, there is probably a good reason why you can do this now. However more importantly taxes now come with predefined rates for EU, Switzerland and Canada plus many more. This saves a lot of time rather than having to manually set each tax rate every time for products using the old multi-country tax rates.

Why is this important?

Commerce 1.0 was a pain to set up, for example, everything you hoped commerce would do required a contributed module from the Drupal community to achieve your goal. This made the sites very heavy due to the number of modules required for basic things such as setting tax rates. Drupal Commerce 2.0 has removed the hassle and incorporate these features into itself streamlining the process.  I used to dread commerce projects, but I am looking forward to them now!

https://drupalcommerce.org/marketing

By Ben Neville, Developer