I have followed the documentation as much as follows, but have been unable to figure out how to make it work.

Thanks

Comments

quikone’s picture

Category: support » bug
quikone’s picture

Hi, is anyone seeing this issue??

anil614sagar’s picture

+1 subscribing

pixelpreview@gmail.com’s picture

When 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.

betz’s picture

Status: Active » Postponed (maintainer needs more info)

@quickone: can you be more specific on what your goal is, what you're trying to do?

quikone’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks 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.

quikone’s picture

Status: Postponed (maintainer needs more info) » Active
betz’s picture

Status: Postponed (maintainer needs more info) » Active

quickone: 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

quikone’s picture

Do you have any idea why I would have userpoints now showing up in most of my products, but not in a handful of others?

zeezhao’s picture

Also 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"

quikone’s picture

Thank 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??

zeezhao’s picture

I 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.

quikone’s picture

I have got the latest revision, what do you mean by the relevant tables, and how do I re-install them?

zeezhao’s picture

Make 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.

betz’s picture

Status: Active » Closed (fixed)

OK, going to close issue, for keeping up with the issue queue.
Feel free to post again if the problem still remains...

svenassmann’s picture

I 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

kclarkson’s picture

Status: Closed (fixed) » Active

Has anybody found a simple solution to making the userpoints show up instead of the price?

Thanks

torgosPizza’s picture

Is 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:

    if ($node->type=='product') {

should be:

    if (uc_product_is_product($node)) {

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.

bmagistro’s picture

Status: Active » Closed (fixed)

Suggested 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.

torgosPizza’s picture

Hey, 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. :)

bmagistro’s picture

You had mentioned having showing points on a per-product class basis as a future feature request.

torgosPizza’s picture

Oh, 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!

kclarkson’s picture

@torgosPizza
Love that idea !!! Keep us posted.

atin81’s picture

I 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¡?

wizonesolutions’s picture

Worth 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.