The document discusses various types of promotions, vouchers, and offers that can be created in Drupal Commerce using rules and price components. It provides examples of implementing fixed price discounts, time limited discounts, order value limited discounts, forced pricing, multibuy discounts, product specific discounts, percentage discounts, free gifts, vouchers, integrating third party offers, bulk coupon generation, and handling supplied coupons. It also mentions that more flexible discount functionality is coming in the Commerce Discount module.
1. PROMOTIONS, VOUCHERS
AND OFFERS
IN
DRUPAL COMMERCE
Richard Jones,
Technical Director, i-KOS
NYC Camp July 2012
2. HELLO!
• Richard Jones
• CTO i-KOS
• London-based Drupal
agency specialising in
Commerce
• @richardjones
3. 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
4. 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)
11. 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.
12. 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)
27. VOUCHERS
ENT
nycc ER
amp
Fixed Price
GET TO
$10
Percentage OFF
28. 3RD PARTY OFFERS
Groupon, KGB, LikeBees etc.
Each has different requirements.
Some want you to provide the
codes
Some want to provide them
29. BULK COUPON GENERATION
Install Commerce Coupon
Batch
http://drupal.org/project/commerce_coupon_batch
Give it a prefix and the number
of coupons required