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.
I have followed the documentation as much as follows, but have been unable to figure out how to make it work.
Thanks
Comments
Comment #1
quikone CreditAttribution: quikone commentedComment #2
quikone CreditAttribution: quikone commentedHi, is anyone seeing this issue??
Comment #3
anil614sagar CreditAttribution: anil614sagar commented+1 subscribing
Comment #4
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedWhen I have actived the module, The points are displaying next to the price in the product page.
Of course you must enabled the options in the points settings page : yoursite/admin/settings/userpoints
You have some options for ubercart on these page.
After you must accept payment by points in ubercart
yoursite/admin/store/settings/payment/edit/methods
Normaly these option appears on the checkout page in the fieldset for payment.
drupal show the actual amount of points from the logged user
if you don't see the points in your product page, perhaps it's because you have created a new class from the product type.
in my site i have two types of product and in my second type (a class) I don't see the points in the product page ... when I print the $node variable ... no points
but in product type (the core node of ubercart) no problems, the points are added to the display of the price.
Comment #5
betz CreditAttribution: betz commented@quickone: can you be more specific on what your goal is, what you're trying to do?
Comment #6
quikone CreditAttribution: quikone commentedThanks for asking, I am trying to apply points to my products. When a customer purchases a product the points of that product should be awarded to the customer. When the customer has sufficient points banked, that customer would have the ability to pay for a new product with those banked points or discount a purchase with those points. Does that help? BTW, I do see the points underneath the product price. I have yet to see points awarded to customers when they purchase.
I now have points showing up in most products, but not all and I cannot figure out why.
Comment #7
quikone CreditAttribution: quikone commentedComment #8
betz CreditAttribution: betz commentedquickone: with the 'userpoints product' module you can add a new feature to your product.
You can find a link to the product's features on the node edit form.
Have a look at http://img.skitch.com/20091206-qd9f3gfu1m2rnergyujime9nhy.jpg
To let clients pay orders with userpoints, you need the 'userpoints payment' module.
You need to set the equivalent of points and a real currency on admin/settings/userpoints.
Have a look at http://img.skitch.com/20091206-gu6gh6twhgfasfkgfgbh7sdxyu.jpg
Hope this helps
Comment #9
quikone CreditAttribution: quikone commentedDo you have any idea why I would have userpoints now showing up in most of my products, but not in a handful of others?
Comment #10
zeezhao CreditAttribution: zeezhao commentedAlso see an alternative to purchasing points I described here:
http://www.ubercart.org/forum/support/14550/uc_store_credit_how_purchase...
i.e. create a product in ubercart called for instance "Buy x Userpoints" - and attach x points to it via Product "Feature" - since after installation, every product in ubercart will have the ability (optional) to attach a points value to them via the Product "Feature", in addition to normal price.
@quickone - I think points wont show up unless is activated by default under "Features".
Also, under admin/settings/userpoints - you can set some default "Ubercart Award Options"
Comment #11
quikone CreditAttribution: quikone commentedThank you, I believe the above information will be very helpful. I have now gone to features and enabled points on one of my products and I get the following warning, any ideas? user warning: Unknown column 'tid' in 'field list' query: INSERT INTO uc_userpoints_products (pfid,nid,points,tid) VALUES (1,88,10,53) in /var/www/modules/userpoints_ubercart/uc_userpoints_product.module on line 134.
Any ideas??
Comment #12
zeezhao CreditAttribution: zeezhao commentedI think it may be related to version you are running... Probably better to install the latest dev version. I used a recent dev version. Also, you need to drop the relevant tables and re-install the tables.
Comment #13
quikone CreditAttribution: quikone commentedI have got the latest revision, what do you mean by the relevant tables, and how do I re-install them?
Comment #14
zeezhao CreditAttribution: zeezhao commentedMake sure you have the latest dev versions i.e.
userpoints-6.x-1.x-dev
userpoints_ubercart-6.x-2.x-dev
then run update.php
If you still have the issue, what I meant is that you may have to drop and recreate the table yourself. You'll need to check the *.install files for the modules.
Comment #15
betz CreditAttribution: betz commentedOK, going to close issue, for keeping up with the issue queue.
Feel free to post again if the problem still remains...
Comment #16
svenassmann CreditAttribution: svenassmann commentedI still can't find a way to display the points AND the USD price.
There is an option "display both" (USD and points), but the points do not come up on the product page or cart. Only on checkout they appear. So, the system works, but I want the user to be able to see the points before checkout, of course.
Anyone managed to get this working?
Thanks,
Sven
Comment #17
kclarkson CreditAttribution: kclarkson commentedHas anybody found a simple solution to making the userpoints show up instead of the price?
Thanks
Comment #18
torgosPizzaIs your theme custom? If you are printing the page $content or the $content->add_to_cart array element, the price in points should show up automatically. So, the first thing to do is check your product tpl file.
The second thing is this only currently seems to work for nodes with the type "product" so if you are looking at a different product class (like "shirt" or "dvd") then it won't show up. Culprit is line 117 of uc_userpoints_payment.module:
should be:
That will allow Userpoint prices to show up on all products. However, I'd like to go one step further and be able to configure this on a per-product class (and per-product) basis. For instance, on the settings page for userpoints, choose which classes this is valid for. Some products / product classes I want to show the points amount, but other products I want to forbid from being purchased with points. I'll work on that for my next patch.
Comment #19
bmagistro CreditAttribution: bmagistro commentedSuggested fix is in the dev.
@Torgos, I thought there was a feature request for the other part you would like. I am not sure what your thoughts are but might hold off with too many new features until the D6 bugs are gone, and put them into D7.
Comment #20
torgosPizzaHey, thanks. Not sure what you mean by "the other part" - I don't see anything else in this thread, but hey, as long as you were able to fix the code as per my suggestion for product class types, we should be all good. :)
Comment #21
bmagistro CreditAttribution: bmagistro commentedYou had mentioned having showing points on a per-product class basis as a future feature request.
Comment #22
torgosPizzaOh, right, forgot about that. Yeah I think right now having it either be "on" or "off" is fine. Would definitely make a good feature request, and I'll be happy to submit one. If I get time, perhaps I'll set about writing the patch myself - we'll probably need it in the near future. Basically it should be a checkbox in the node type edit form, to turn "Purchase by Userpoints" on or off. That way it controls the display as well as the payment option in one swoop.
Anyway, thanks again for your work!
Comment #23
kclarkson CreditAttribution: kclarkson commented@torgosPizza
Love that idea !!! Keep us posted.
Comment #24
atin81 CreditAttribution: atin81 commentedI have being almost configure everything nedeed for use userpoints as the main payment method on my website. There is only one thing missing for me at this momment:
I'm trying to display a view where several products will be listed. What I can't do is make views display the price on userpoints, it displays the price on currency.
I have search the forum but culdn't find any relevan for my situation, can anybody point me on the right direction for acomplish this¡?
Comment #25
wizonesolutionsWorth mentioning that Ubercart Conditional Payment would at least help the payment-method-by-content-type issue, although the display of points based on content type should be handled by this module.