O'Reilly logo

Getting Started with Drupal Commerce by Richard Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Coupons

Coupons or offer codes are a popular way of offering discounts to selected customers or via advertising.

To use Coupons in Drupal Commerce, we need to install some new modules:

Enable the following modules:

  • Commerce Coupon
  • Commerce Coupon Fixed Amount
  • Commerce Coupon Percentage Amount
  • Commerce Coupon UI
  • Entity Reference

You will now have an extra menu in your store settings, named Coupons.

Fixed discount on your order

Our first example is to give a customer £10 off their order, by using the following steps:

  1. Click on Create coupon and you will be presented with a choice ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required