VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Acolytte on January 23, 2014, 12:30:56 PM

Title: Points per product, sum points at checkout
Post by: Acolytte on January 23, 2014, 12:30:56 PM
Hi, i need help and solution. I need admin defined points per product and sum them at cart and checkout. I want to offer a discount based on the sum of the points. Its easy end clear. I already have them stored in custom field.


So i have product "Bike"
Bike price is 100$
Bike points is 10 points.

If i add to cart three bikes, i will have 30 points there. After checkout, the points will reset, you cant stack points.


Its really simple but i didnt find any module capable of this, even how to Sum custom fields. Please help me, i am desperate.

(sorry for language, i am not native english)
Title: Re: Points per product, sum points at checkout
Post by: jenkinhill on January 23, 2014, 23:54:04 PM
? http://forum.virtuemart.net/index.php?topic=99581.msg328959#msg328959  or  http://forum.virtuemart.net/index.php?topic=99582.msg328960#msg328960
Title: Re: Points per product, sum points at checkout
Post by: Acolytte on January 25, 2014, 08:57:40 AM
well, i need to offer a discount based on the points, not cancel the order. is it in the settings? i would like to be able to test it before buying.
Title: Re: Points per product, sum points at checkout
Post by: Acolytte on January 25, 2014, 09:08:47 AM
also, the points are saved to user. i want them to be reseted after buy. just, if you reach some value, you will get some discount.
Title: Re: Points per product, sum points at checkout
Post by: jenkinhill on January 25, 2014, 12:40:59 PM
Sounds like you may need to build or commission your own plugin.