News:

Looking for documentation? Take a look on our wiki

Main Menu

Points per product, sum points at checkout

Started by Acolytte, January 23, 2014, 12:30:56 PM

Previous topic - Next topic

Acolytte

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)

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Acolytte

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.

Acolytte

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.

jenkinhill

Sounds like you may need to build or commission your own plugin.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum