PROMOTIONS, VOUCHERS
     AND OFFERS
         IN
  DRUPAL COMMERCE



       Richard Jones, 
  Technical Director, i-KOS
   NYC Camp July 2012
HELLO!

• Richard   Jones

• CTO   i-KOS 

• London-based   Drupal
 agency specialising in
 Commerce

• @richardjones
DRUPAL COMMERCE
         PRICING MODEL

Product Prices start with a Base Price

Final Selling Prices are calculated using Rules

Prices are made up of multiple Components

Rules conditions and actions provide incredible flexibility
BEFORE YOU START


Install the Commerce Extra Price Formatters module
http://www.drupal.org/project/commerce_extra_price_formatters

(It’s just going to make it easier to see what’s going on)
PRICE FORMATTER SETTINGS
PLANNING YOUR OFFERS



However well you plan, the next offer seems to be something
you’ve not thought of...
FIXED PRICE DISCOUNTS


Fixed Price Discount on a
product

No Conditions
                                 $10
                                       off !
Applies to any product
(regardless of starting price)
FIXED PRICE DISCOUNTS

                Event triggers when a product is viewed




Adds a discount component to the price (note that amount is in pennies)
TIME LIMITED


                            $10
Fixed Price Discounts
   toda    off,
                              y on    
Time limited offer                 ly!
TIME LIMITED




Adds date checking conditions to the rule
ORDER VALUE LIMITED

Fixed Price Discounts
                                   $10
Only apply when the basket       whe    off 
value exceeds a fixed amount
                                     n yo
                                  spe     u
                                      nd
Slightly more tricky as we are   $10
applying a discount to the           0!
whole order - not product by
product.
ORDER VALUE LIMITED

Different event - this one reruns the rule when a change is made to the order




 Checks discount hasn’t already been added and that order value is sufficient




  Add a special DISCOUNT product to the cart (which has negative price)
ORDER VALUE LIMITED



Need a reversal rule - always consider how to cheat the
system
POUNDLAND


                                  EVE
                                     RYT
                                         HIN
Force the price of all items to      $1!     G
be a fixed value
POUNDLAND



Force the price of all items to
be a fixed value
MULTIBUY

                                   BUY
                                    2
                                GET
Add a discount to the order         ONE
when a 2nd item is purchased.    HAL
                                     F
MULTIBUY


Currently difficult to do using price rules.

We are working on a custom rules action.

But you can still work around it!
MULTIBUY




Check if we have the qualifying product and no free one




         Add the free version of the product
MULTIBUY



Need a reversal rule - always consider how to cheat the
system
PRODUCT SPECIFIC


                             $5 o
                                  ff an
                             Blu-       y
Discount specified products        Ray
PRODUCT SPECIFIC
PERCENTAGE DISCOUNTS


                                           10%
                                         EVE    OFF
Pe r c e n t a g e d i s c o u n t o n       RYT
everything                                      HIN
                                                    G!
PERCENTAGE DISCOUNTS
FREE GIFT

                                     FRE
                                   KEY E
                                 WIT RING
                                    HE
Gift with purchase type offers
                                  ORD  VER
                                      ER! Y
FREE GIFT
FREE GIFT LIMIT
VOUCHERS

                         ENT
                      nycc ER
                          amp
Fixed Price 
          GET    TO
                           $10
Percentage              OFF
3RD PARTY OFFERS

Groupon, KGB, LikeBees etc. 

Each has different requirements.

Some want you to provide the
codes

Some want to provide them
BULK COUPON GENERATION

Install Commerce Coupon
Batch
http://drupal.org/project/commerce_coupon_batch


Give it a prefix and the number
of coupons required
SUPPLIED COUPONS

Use Feeds

drupal.org/project/feeds
COUPON LOGIC


The start position is “valid”

Create rules to make it “invalid”

Extend the coupon entity with fields you can use
CHANGE IS COMING!



http://drupal.org/project/commerce_discount
YOUR QUESTIONS

Promotions Vouchers and Offers in Drupal Commerce