This module makes it possible for customers to add items to their shopping carts that are discounted based on the number of userpoints they have. Discounts are enabled for individual products on their node edit forms, causing a second submit button to be added to the product's add to cart form that adds the product to the shopping cart with the discount. The value of userpoints are specified as a conversion rate against the dollar (or your store's currency) in an administration form.
This module alters the cart view form so a customer can see their discounts before proceeding to the checkout form. During checkout, discounts are represented and added to the orders as line items. A customer's userpoints are held while the item is in their shopping cart so they can't get more discounts than they deserve! These will expire if checkout is not completed, or they will be permanently deducted from the user's account when checkout is completed.
This module provides no Userpoints integration beyond the ability to purchase products at a discount with userpoints. Its scope is limited to the functionality as described above.
Releases and an issue tracker for bug reports are available through the project page on drupal.org.
For modifications of this module, please contact Ryan through the forums or the site-wide contact form. Thanks!


error when adding product to cart
Installation and setup went find, but adding a product to the cart gives me this error:
Fatal error: Cannot use string offset as an array in C:\xampp\htdocs\Drupal\modules\uc_userpoints_discount\uc_userpoints_discount.module on line 177.
If I go to http://localhost/Drupal/cart, I get the same error.
add to existing products
i have over 600 products currently in my store. I would like to add the ability to purchase using points to all of them. is there an easier way than adding the option one at a time?
Re: add to existing products
You don't have to add the option one at a time. It's a global option - if you allow products to be purchased using points as a discount or payment option, it works for everything.