VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: ssmiley on December 09, 2012, 19:25:18 PM

Title: how to add custom filed which will modify price of product depends on lenght ?
Post by: ssmiley on December 09, 2012, 19:25:18 PM
Hi guys, I'm new here so I hope that I wrote this question on proper place .

Currently I work on one small project(carpet shop) and I use VirtueMart 2.

And I have one problem, I hope someone will help me. My question is :
how to add custom filed which will modify price of product depends on lenght ?

So if someone choose spec carpet and want to add custom dimensions , how to calculate this easily.?
Let's say that price will be different on every 10 cm of length .
So if someone select 110 cm price is 110 $
                                 120 cm  price is 120$
                                 112 cm price is  120$
                                 122 cm price is 130 $
length is btwn 110 and 400 cm


Tnx
:)

Title: Re: how to add custom filed which will modify price of product depends on lenght ?
Post by: PolishedGeek on December 09, 2012, 19:58:54 PM
I'm not sure if you can do the 10cm ranges you want with this extension, but have you checked out the Custom Size Plugin? http://extensions.virtuemart.net/extensions-virtuemart-2/custom-size-detail

If that won't work for you, then you could always create something like this with our Breezing Forms Custom Fields plugin. That allows you to develop a completely custom form and adjust the pricing any way you like with integration back to VM2. You can learn more about our product here: https://polishedgeek.com/paid-extensions/breezing-forms-custom-fields-virtuemart-2.html and on our Documentation site http://docs.polishedgeek.com/wiki/display/BFCUSTOM/

Hope this helps!
Title: Re: how to add custom filed which will modify price of product depends on lenght ?
Post by: ssmiley on December 09, 2012, 22:49:20 PM
Quote from: PolishedGeek on December 09, 2012, 19:58:54 PM
I'm not sure if you can do the 10cm ranges you want with this extension, but have you checked out the Custom Size Plugin? http://extensions.virtuemart.net/extensions-virtuemart-2/custom-size-detail

If that won't work for you, then you could always create something like this with our Breezing Forms Custom Fields plugin. That allows you to develop a completely custom form and adjust the pricing any way you like with integration back to VM2. You can learn more about our product here: https://polishedgeek.com/paid-extensions/breezing-forms-custom-fields-virtuemart-2.html and on our Documentation site http://docs.polishedgeek.com/wiki/display/BFCUSTOM/

Hope this helps!

Is it possible to find demo version one of those plugins (online)?
Title: Re: how to add custom filed which will modify price of product depends on lenght ?
Post by: PolishedGeek on December 10, 2012, 00:10:19 AM
Here is a link to a draft demo site for Breezing Forms Custom Fields - http://klarna.polishedgeekdev.com/index.php/shop/eyeglasses/awesome-eyeglasses-detail

In this demo we created a custom Breezing Form to collect prescription information for a pair of eyeglasses before the product can be added to the cart.  Some of the options also adjust the pricing.