I use joomla 2.5 and virtuemart 2.6.10
In cart page i need for each product to get the final price, quantity and id.
With this:
$wantedpricecart = $product->salesPrice;
$wantedproductid = $product->virtuemart_product_id;
$wantedproductquantity = $product->quantity;
get quantity of product in cart and product id but i cannot get product final price.
Any ideas?
$product->prices['salesPrice']
I have tried this but i get no result at all. Any other ideas?
I remind you that i do the this inside the cart php file. Maybe should i include something to take the price?Or something else?
Thank you
Hi,
Can you not update to VM 3, i think the answer work for VM3 only.
In all case vm 3.0.14 have security fix, so i t's better for you to update it.
I want too but my client does not unfortunately. He says he has to many customizations that are hard to identify now and transfer to vm3.
In any case, if someone has answer for Virtuemart 2, i would be grateful!
just echo out what's in the product loop of the cart so u can see if ind. prices are there
otherwise isn't product total price / quantity?
I found the answer after lots of tests:
$product->product_price