Hi,
i have virtuemart 2.0.6 with Joomla 2.5.4 for a wine-shop. I will sell wine in 0,75 liter bottles, but i need the price per liter too, but the price for a liter must only shown.
In the cart should write the price for the 0,75 liter bottle.
Can sombody help me?
Regards
You can create a custom field for that.
Try to create a String Custom field and set it as "Cart Attribute" and "Hidden"
http://forum.virtuemart.net/index.php?topic=99225.msg327847#msg327847
Hi Banqouet,
thank you very very very much :).
Quote from: Daggett on May 08, 2012, 12:44:40 PM
Hi,
i have virtuemart 2.0.6 with Joomla 2.5.4 for a wine-shop. I will sell wine in 0,75 liter bottles, but i need the price per liter too, but the price for a liter must only shown.
In the cart should write the price for the 0,75 liter bottle.
Can sombody help me?
Regards
hi i have the same problem , can you tell me please your solution ??? how the system calculate the price pro liter ???
If you sell 3/4 Liter
BUT, need to show full liter price. Its "math"
Divide the price by 3, then multiply by 4
<?php $literprice =$this->product->prices['salesPrice']/3 *4 ;
echo 'Price Per Liter: ' .number_format($literprice, 2, ".", "");?>
^^^ that uses sales price.
more here
http://forum.virtuemart.net/index.php?topic=104194.0