Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My goal is to have a certain number of points associated with each product that is purchased. I installed the Ubercart Userpoints module, selected 'Userpoints Product' and created a category. I created a new product and added the points using the features tab. However when the product is purchased, no points are added to the user account. WHat am I missing?
Also, is there a way to show the points associated with each product in the product catalog?
Thanks
Comments
Comment #1
jasonabc CreditAttribution: jasonabc commentedam getting this too.
Also - have set 1 userpoint to equal $1. On the product detail page it says "Points: 150" underneath the price of $150. If I go and change the points value in the Features tab - "Points: 150" disappears from the detail page completely. If I checkout - no points are added to the user account.
Comment #2
jasonabc CreditAttribution: jasonabc commentedthe lack of documentation or any kind of instructions for this module are extremely frustrating - but I believe I've found the answer to the Product Points not working.
I checked the Conditional Actions and saw that points are awarded for this condition:
"Award points if order complete"
When I changed the status of one of my orders to Complete - I got points awarded and sent to my account ;-)
Comment #3
bmagistro CreditAttribution: bmagistro commentedWithout digging into this too much, I'm going to call this works as designed. It was/is handled by a conditional action but that should have been created/enabled when the module was enabled.
@cmckay, points in the catalog is not there (as far as I know) right now but I think there is a feature request out there for that one.
@jasonabc, this is an open source module. I had thought things would be straight forward, hence part of the reason I didn't do much/any documentation for different parts. So don't be offended by this but rather than complain about the lack of documentation have you considered writing some documentation that could be posted to help others and contributing back to the community?
Comment #4
jasonabc CreditAttribution: jasonabc commentedPoint taken - although i would say that this module is a big one and has a lot of functionality and components to it and it is definitely not straightforward. Providing nothing by way of instruction or explanation for those that use is somewhat naive IMHO. Still - if i ever use this for a project, I'd be happy to commit something.
Comment #5
hockey2112 CreditAttribution: hockey2112 commentedIt would be nice if the project's main page made stronger mention of the fact that the rewarding of points occurs based on Conditional Actions / Rules in D7. Would have saved me a bit of digging and wasted time.
Other than that... great module!
Comment #6
leex CreditAttribution: leex commentedhockey2112 I'm not sure what you mean exactly, I have this module setup and it awards points without using any Rules. It does this for product points and order points. Points are only assigned once the order is in a 'completed' state.