| 1 |
Userpoints Discount
|
| 2 |
By: Ryan (rszrama)
|
| 3 |
|
| 4 |
Sponsored by: http://www.horseracegame.com
|
| 5 |
|
| 6 |
The userpoints discount makes it possible for customers to add items to their
|
| 7 |
shopping carts that are discounted based on the number of userpoints they have.
|
| 8 |
Discounts are enabled for individual products on their node edit forms, causing
|
| 9 |
a second submit button to be added to the product's add to cart form that adds
|
| 10 |
the product to the shopping cart with the discount. The value of userpoints
|
| 11 |
are specified as a conversion rate against the dollar (or your store's currency)
|
| 12 |
in an administration form.
|
| 13 |
|
| 14 |
This module alters the cart view form so a customer can see their discounts
|
| 15 |
before proceeding to the checkout form. During checkout, discounts are
|
| 16 |
represented and added to the orders as line items. A customer's userpoints are
|
| 17 |
held while the item is in their shopping cart so they can't get more discounts
|
| 18 |
than they deserve! These will expire if checkout is not completed, or they will
|
| 19 |
be permanently deducted from the user's account when checkout is completed.
|
| 20 |
|
| 21 |
This module should not be confused with a full Userpoints integration. Its
|
| 22 |
scope is limited to the functionality described above.
|
| 23 |
|
| 24 |
For modifications of this module, please contact Ryan through the contact form
|
| 25 |
at http://www.ubercart.org/contact. Thanks!
|