VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: sandomatyas on September 08, 2022, 14:10:20 PM

Title: Dynamic pricing of product based on custom condition
Post by: sandomatyas on September 08, 2022, 14:10:20 PM
Is there a progmatically method to set the product price based on dynamic custom conditions?
Like

I don't want to use shopper groups or set fixed prices to the database, I'm looking for a dynamic plugin method which can change the product price on the fly.
I have PHP skills just don't know where to find ord is there a method for this? Maybe VmCalculationPlugin somehow?
Title: Re: Dynamic pricing of product based on custom condition
Post by: sandomatyas on September 12, 2022, 10:46:22 AM
Any idea? Is it possible to change product price on-the-fly via plugin?
Title: Re: Dynamic pricing of product based on custom condition
Post by: balai on September 12, 2022, 13:04:15 PM
You need a plugin of type "vmcalculation".
We use something like that in our Product Bundles (https://breakdesigns.net/extensions/joomla/product-bundles).