VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Andre72 on September 27, 2012, 21:11:27 PM

Title: Base price calculation and custom fields
Post by: Andre72 on September 27, 2012, 21:11:27 PM
Hi,

I tried to find a solution by myself but google only shows me some solution for VM 1.x and a dead link in the forum to a PlugIn ...
As I use VM 2.x I need your help please.

I create custom field for a bootle and you can purchase 330 ml, 500 ml or 700 ml.
So I set the base price to 2 Euro and custom field 330 = +0, 500 = +1, 700 = +2 ..

This works fine but VM ever change the base price to the new calculated price.
What I need is not a base price of 2 Euro for 330ml and a base price of 500 ml - what I need is a base price that is conferm with european law, eg.:
330 ml = 2 Euro, base price 100 ml = 0,61
500 ml = 3 Euro, base price 100 ml = 0,60
700 ml = 4 Euro, base price 100 ml = 0,57

What are the right way to create a product like this?

Thanks

Andre

Title: Re: Base price calculation and custom fields
Post by: pcbob on September 30, 2012, 02:20:13 AM
Have a look here http://forum.virtuemart.net/index.php?topic=99678.0 (http://forum.virtuemart.net/index.php?topic=99678.0). I use this plugin on Joomla 2.5.7 and VM 2.0.10 and it has saved the day many times.
Title: Re: Base price calculation and custom fields
Post by: Andre72 on September 30, 2012, 11:30:34 AM
You're right it looks interesting to add many options.
But I think it won't save my problem for base calculation, will it?