Userpoints Product Module

BillyMG - May 8, 2009 - 13:58
Project:Ubercart Userpoints
Version:5.x-2.2
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:needs review
Description

Many thanks to torgospizza for making the module that assigns points as a product feature, but I had an issue that it couldn't resolve. Basically, I needed to be able to assign categories of points per product. Much like his subscription example, now you could have multiple categories assigned. I took it upon myself to make the necessary changes to the module, and I fixed up a couple of minor typos and cleaned up most of the code. I've tested it and it seems to work pretty well, so I imagine this would be good to integrate, as I feel it adds a significant level of functionality (over having all points being assigned to the same category). Attached is a .patch file (pretty sure I did the patch process right) for the changes to the info, install, and module files (the install file should be patched with an upgrade path, but it's just an extra table). I would love to see if people think this is a handy feature. Also some feedback or additional testing would be great. Anyone interested?

AttachmentSize
us_userpoints_product.patch13.13 KB
 
 

Drupal is a registered trademark of Dries Buytaert.