This project is not covered by Drupal’s security advisory policy.

------------
Summary
-------------
A coupon type that awards users a fixed value of user points on completion of checkout.

2 Types of bonuses (can be compounded in a single coupon):

1. Order Bonus:
When a minimum purchase amount is reached (before tax), x number of userpoints
are awarded to the user.

2. Product Bonus:
When certain products are purchased, a number of points are awarded per each
product in the cart of that type.

-------------
Installation
-------------
To install and setup, you must have your userpoints configured. Then it is just a regular coupon that awards a user a fixed amount of points (when using the coupon) after they complete the checkout process.

1. Install commerce coupon module.
2. Install and configure the userpoints module.
2.a. Create a taxonomy term in userpoints vocabulary (Say "Credit" for instance)
2.b. Go to Store > Config > Commerce points settings
3. Create a coupon for a specific type.

---------------
Coupon Fields
----------------

** Title: The text the user will see in their cart to verify the correct code is
entered.

** Userpoints Type: the type of userpoints to be awarded.

** Order Bonus - Number of Points: The points added to the order if purchase
minimum is met.

** Purchase Minimum: The value required to meet before the coupon is valid for the
order bonus amount.

** Product Bonus - Number of Points: The points awarded for each promo product
in the cart, including multiples of the same item. (i.e. a quantity of 5 of a
single product gets 5x the bonus).

** Eligible Products: the products for which the specified bonus code applies.
Each selected product is independently awarded bonus points.

Supporting organizations: 
Original creator

Project information

Releases