You are here

README.txt in Commerce Coupon 7

Same filename and directory in other branches
  1. 7.2 README.txt
Commerce Coupon
===============

Description
-----------

Commerce Coupon module provides coupon functionality for Drupal Commerce
(http://drupal.org/project/commerce).

Coupons allow users to redeem discounts for Drupal Commerce products/orders
during checkout.
e.g. '10% off' or '$10 off'

Commerce Coupon is flexible and customisable:
- Multiple coupon types can be created
- Coupons are fieldable entities, meaning that custom fields can be added to
  each coupon type.
- Rules is used to handle the validation and redemption of coupons. As such, the
  default rules can be fully modified and/or new rules can be added to provide
  further coupon control.

Dependencies
------------

Drupal Commerce and all of its dependencies
Entity Reference


Installation
------------

Commerce Coupon contains two modules:

- Commerce Coupon
- Commerce Coupon UI

Enable both.

Optional
--------

Whilst not required, you will likely want to install either or both of:

- Commerce coupon fixed amount
  http://drupal.org/project/commerce_coupon_fixed_amount

  Generates a:
  - 'Fixed coupon' coupon type
  - 'Redeem a coupon with fixed amount' rule

- Commerce coupon percentage
  http://drupal.org/project/commerce_coupon_pct

  Generates a:
  - 'Percentage coupon' coupon type
  - 'Calculate coupon with percentage amount' rule

and possibly also:

- Commerce coupon batch
  http://drupal.org/project/commerce_coupon_batch

  Allows mass generation of coupons.


Configuration
-------------

- Commerce Coupon permissions

  Home > Administration > People > Permissions
  (admin/people/permissions#module-commerce_coupon)

- The main Commerce Coupon admin page

  Home > Administration > Store > Coupons
  (admin/commerce/coupons)


Coupon logic
------------

Coupons must always be of a coupon type (much like content and content types)

To create a coupon:
- First add a coupon type or install one of the contributed modules that creates
  one for you such as commerce coupon fixed amount or commerce coupon
  percentage.
- Create a coupon of a particular coupon type


Example - Create a '10% off' coupon
-----------------------------------

1) Install modules

   Install:
   - Commerce Coupon
   - Commerce Coupon UI
   - Commerce coupon percentage

2) Create a 'Percentage coupon' coupon

   Go to: Home > Administration > Store > Coupons

   Click 'Create Coupon'

   Choose 'Create Percentage coupon'
   (if you have no other coupon types clicking 'Create Coupon' will redirect to
    the 'Create Percentage coupon' form)

   Create a percentage coupon with the following:

   - Coupon Code: 10%OFF
   - Number of Uses: 1 (change as necessary)
   - Percentage Amount: 10
   - Active: Yes

   Save

3) Enable the 'Coupons' area on one of your Commerce checkout panes

   Go to: Home > Administration > Store > Configuration > Checkout settings

   Move the 'Coupons' item into one of the checkout panes

   Save

4) Test it!

File

README.txt
View source
  1. Commerce Coupon
  2. ===============
  3. Description
  4. -----------
  5. Commerce Coupon module provides coupon functionality for Drupal Commerce
  6. (http://drupal.org/project/commerce).
  7. Coupons allow users to redeem discounts for Drupal Commerce products/orders
  8. during checkout.
  9. e.g. '10% off' or '$10 off'
  10. Commerce Coupon is flexible and customisable:
  11. - Multiple coupon types can be created
  12. - Coupons are fieldable entities, meaning that custom fields can be added to
  13. each coupon type.
  14. - Rules is used to handle the validation and redemption of coupons. As such, the
  15. default rules can be fully modified and/or new rules can be added to provide
  16. further coupon control.
  17. Dependencies
  18. ------------
  19. Drupal Commerce and all of its dependencies
  20. Entity Reference
  21. Installation
  22. ------------
  23. Commerce Coupon contains two modules:
  24. - Commerce Coupon
  25. - Commerce Coupon UI
  26. Enable both.
  27. Optional
  28. --------
  29. Whilst not required, you will likely want to install either or both of:
  30. - Commerce coupon fixed amount
  31. http://drupal.org/project/commerce_coupon_fixed_amount
  32. Generates a:
  33. - 'Fixed coupon' coupon type
  34. - 'Redeem a coupon with fixed amount' rule
  35. - Commerce coupon percentage
  36. http://drupal.org/project/commerce_coupon_pct
  37. Generates a:
  38. - 'Percentage coupon' coupon type
  39. - 'Calculate coupon with percentage amount' rule
  40. and possibly also:
  41. - Commerce coupon batch
  42. http://drupal.org/project/commerce_coupon_batch
  43. Allows mass generation of coupons.
  44. Configuration
  45. -------------
  46. - Commerce Coupon permissions
  47. Home > Administration > People > Permissions
  48. (admin/people/permissions#module-commerce_coupon)
  49. - The main Commerce Coupon admin page
  50. Home > Administration > Store > Coupons
  51. (admin/commerce/coupons)
  52. Coupon logic
  53. ------------
  54. Coupons must always be of a coupon type (much like content and content types)
  55. To create a coupon:
  56. - First add a coupon type or install one of the contributed modules that creates
  57. one for you such as commerce coupon fixed amount or commerce coupon
  58. percentage.
  59. - Create a coupon of a particular coupon type
  60. Example - Create a '10% off' coupon
  61. -----------------------------------
  62. 1) Install modules
  63. Install:
  64. - Commerce Coupon
  65. - Commerce Coupon UI
  66. - Commerce coupon percentage
  67. 2) Create a 'Percentage coupon' coupon
  68. Go to: Home > Administration > Store > Coupons
  69. Click 'Create Coupon'
  70. Choose 'Create Percentage coupon'
  71. (if you have no other coupon types clicking 'Create Coupon' will redirect to
  72. the 'Create Percentage coupon' form)
  73. Create a percentage coupon with the following:
  74. - Coupon Code: 10%OFF
  75. - Number of Uses: 1 (change as necessary)
  76. - Percentage Amount: 10
  77. - Active: Yes
  78. Save
  79. 3) Enable the 'Coupons' area on one of your Commerce checkout panes
  80. Go to: Home > Administration > Store > Configuration > Checkout settings
  81. Move the 'Coupons' item into one of the checkout panes
  82. Save
  83. 4) Test it!