Post by jdpsbh » Wed Aug 15, 2012 6:05 am

Hi guys,
the reward points for options are not working for me. Basci product give 1 point for $1, but when customer choose an option, it should get more 2 points, but in the cart, shows only the default, even when sale are done in admin panel.

Any idea?

Thanks

Newbie

Posts

Joined
Sun May 08, 2011 10:52 am

Post by asphole » Wed Aug 15, 2012 7:15 am

I dont think it works for anyone. I'm on 1.5.3.1 and its still not fixed on this version. Was supposed to be fixed for 1.5.2 but seems to have never happened. Hasn't mattered to me so far as I never needed product options with an increase in price but a new site I'm launching does so if I find anything out I'll post back.

Active Member

Posts

Joined
Mon Mar 14, 2011 9:33 am

Post by jdpsbh » Thu Aug 16, 2012 12:18 am

Hi asphole,
thanks for your reply. I found where change in the code. In the system->library->cart.php change line (should be 463):

'reward' => $reward * $quantity,

for

'reward' => ($reward + $option_points) * $quantity,

Works fine.

Newbie

Posts

Joined
Sun May 08, 2011 10:52 am

Post by asphole » Thu Aug 16, 2012 4:39 am

Hi jdpsbh,

Good work. I hadn't had chance to look yet so thanks for posting back with the fix. I confirm this works for me in 1.5.3.1.
This will definitely stop cust emails when the site launches!

I've attached a vqmod for anyone else needing this fix. (credit to jdpsbh - I just made the xml)

Active Member

Posts

Joined
Mon Mar 14, 2011 9:33 am

Post by Sallana » Thu Jan 31, 2013 4:20 am

Thank you!!

Newbie

Posts

Joined
Fri Dec 28, 2012 4:03 am
Who is online

Users browsing this forum: No registered users and 45 guests