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

How can i enter Price per Liter?

Started by Daggett, May 08, 2012, 12:44:40 PM

Previous topic - Next topic

Daggett

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

balai

#1
You can create a custom field for that.

Try to create a String Custom field and set it as "Cart Attribute" and "Hidden"


Daggett

#3
Hi Banqouet,

thank you very very very much  :).

coppo82

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 ???
the best solution for the joomla virtuemart CSV
http://joomdonation.com/components/csv-advanced.html

PRO



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