Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
1 of 35

Promotions Vouchers and Offers in Drupal Commerce

4

Share

Download to read offline

Drupal Commerce is an incredibly powerful suite of modules for creating e-Commerce sites in Drupal. With Rules based pricing it is possible to create highly complex special offers, vouchers and variable pricing. However, this can be a minefield of business logic contradiction and complex rule configuration way beyond what your site administrator can manage easily.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Promotions Vouchers and Offers in Drupal Commerce

  1. 1. PROMOTIONS, VOUCHERS AND OFFERS IN DRUPAL COMMERCE Richard Jones, Technical Director, i-KOS NYC Camp July 2012
  2. 2. HELLO! • Richard Jones • CTO i-KOS • London-based Drupal agency specialising in Commerce • @richardjones
  3. 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. 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)
  5. 5. PRICE FORMATTER SETTINGS
  6. 6. PLANNING YOUR OFFERS However well you plan, the next offer seems to be something you’ve not thought of...
  7. 7. FIXED PRICE DISCOUNTS Fixed Price Discount on a product No Conditions $10 off ! Applies to any product (regardless of starting price)
  8. 8. FIXED PRICE DISCOUNTS Event triggers when a product is viewed Adds a discount component to the price (note that amount is in pennies)
  9. 9. TIME LIMITED $10 Fixed Price Discounts toda off, y on Time limited offer ly!
  10. 10. TIME LIMITED Adds date checking conditions to the rule
  11. 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. 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)
  13. 13. ORDER VALUE LIMITED Need a reversal rule - always consider how to cheat the system
  14. 14. POUNDLAND EVE RYT HIN Force the price of all items to $1! G be a fixed value
  15. 15. POUNDLAND Force the price of all items to be a fixed value
  16. 16. MULTIBUY BUY 2 GET Add a discount to the order ONE when a 2nd item is purchased. HAL F
  17. 17. MULTIBUY Currently difficult to do using price rules. We are working on a custom rules action. But you can still work around it!
  18. 18. MULTIBUY Check if we have the qualifying product and no free one Add the free version of the product
  19. 19. MULTIBUY Need a reversal rule - always consider how to cheat the system
  20. 20. PRODUCT SPECIFIC $5 o ff an Blu- y Discount specified products Ray
  21. 21. PRODUCT SPECIFIC
  22. 22. 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!
  23. 23. PERCENTAGE DISCOUNTS
  24. 24. FREE GIFT FRE KEY E WIT RING HE Gift with purchase type offers ORD VER ER! Y
  25. 25. FREE GIFT
  26. 26. FREE GIFT LIMIT
  27. 27. VOUCHERS ENT nycc ER amp Fixed Price GET TO $10 Percentage OFF
  28. 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. 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
  30. 30. SUPPLIED COUPONS Use Feeds drupal.org/project/feeds
  31. 31. COUPON LOGIC The start position is “valid” Create rules to make it “invalid” Extend the coupon entity with fields you can use
  32. 32. CHANGE IS COMING! http://drupal.org/project/commerce_discount
  33. 33. YOUR QUESTIONS

×