Is there a progmatically method to set the product price based on dynamic custom conditions?
Like
- if an other product is in the cart, set the specific product's price to the 30% of the cart sum price
- I run a custom API, can I set custom price based on the response of an API call
- when the user has subscription on the site
- when he subscribed to newsletter
- when he already purchased the product before
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?
Any idea? Is it possible to change product price on-the-fly via plugin?
You need a plugin of type "vmcalculation".
We use something like that in our Product Bundles (https://breakdesigns.net/extensions/joomla/product-bundles).