News:

Looking for documentation? Take a look on our wiki

Main Menu

Price calculation depending on custom attributes

Started by Haksli, August 08, 2015, 14:06:31 PM

Previous topic - Next topic

Haksli

Hi!

I need to make automatic calculation of the product price depending on products size (length, depth and width).  The length, width and depth are custom fields that user enters.

The formula of price calculation is like: p1*(height*depth + width*depth)+p2*(lenght+depth+width)+p3. Pi - some values.

How to make such price calculation with virtuemart? Is it possible?

Maybe there are some other ecommerce extension that may have such functionality?

Thanks in advance!

Studio 42

Hi haski,
You can certainly find plugin doing this as custom size by istraxx.
This is not a problem in Virtuemart.

I'm myself on developing a new plugin, with more features but including your needs.
You can then :
- add color blocks as options
- add image as option from any folder from joomla images.
- any options can use operators +,-,=,*
- * operator is your need and permit to use either the product price(as your need) or the base price from plugin and add another price for calculation.( Eg 3.1416 for cylinder price calculation) and multiply the price by the quantity entered(you can choose decimals or integer).

You can find it next in my shop.

Greets,

Patrick