News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cart product price override

Started by fg, September 16, 2013, 12:36:03 PM

Previous topic - Next topic

fg

Hi,

this is my first question in this forum but you helped me a lot so far by answering other questions that were also interesting for me.

I want to manipulate the product-price in the cart. My products can be bundled with various options, that I get in the "customPlugin"-field.
Now I tried to change the price by adding a plgVmOnAddToCart-function and override the $product->product_price in my own plugin.
Unfortunetaly the  product-price is resetted by vm to its default-vm price every time I reload the cart.

Do you have any idea how to permanently manipulate the product price when adding a product to the cart?

Thank you in advance!
Felix

Maxim Pishnyak

"Your plugin" is a your custom plugin?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

fg


Maxim Pishnyak

I'm not programmer, but did you check available plugins that could be useful for your research?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

usman124

ering other questions that were also interesting for me.

I want to manipulate the product-price in the cart. My products can be bundled with various options, that I get in the "customPlugin"-field.
Now I tried to change the price by adding a plgVmOnAddToCart-function and override the $product->product_price in my own plugin.
Unfortunetaly t
uxman