VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: ydl on November 22, 2015, 13:56:32 PM

Title: Price special algorithm
Post by: ydl on November 22, 2015, 13:56:32 PM
Hi,

Is it possible to add a price calculation with special algorithm (rule).

I want to calculate the price in a different way based on 'shopper group' or a specific product in the cart and the user last period (6 months for example)  purchases

Do we have a hook for that in VM?

Thanks,
Yair
Title: Re: Price special algorithm
Post by: GJC Web Design on November 22, 2015, 16:24:09 PM
http://docs.virtuemart.net/manual/general-concepts/204-tax-and-calculation-rules-overview.html

for what u specifically want I guess you may need to develop a vmcalculation plugin for it
Title: Re: Price special algorithm
Post by: ydl on November 22, 2015, 16:41:09 PM
Thanks for the quick response.

I started to develop a calculation plugins BUT in the calculation plugins you get the price value and not the whole products which will be used to calculate the price....
Title: Re: Price special algorithm
Post by: GJC Web Design on November 22, 2015, 16:46:48 PM
you would need to make your own queries to find what u want
Title: Re: Price special algorithm
Post by: PRO on November 22, 2015, 17:16:39 PM
Quote from: ydl on November 22, 2015, 16:41:09 PM
Thanks for the quick response.

I started to develop a calculation plugins BUT in the calculation plugins you get the price value and not the whole products which will be used to calculate the price....


based on shopper group/specific products in cart

can be a product plugin.

BUT! you will have to query recent orders