VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: idor on April 07, 2021, 15:17:02 PM

Title: Price by Lenght adding a fixed amount
Post by: idor on April 07, 2021, 15:17:02 PM
Hello

In a VM eshop in a specific category I need to calculate a price depending on the length of the product that the user put in a field but adding also an amount of length.

Here is an example:
Product price 36€
The user put in a field 1,85 in the field

The calculation must be like this:

1,85 meter * 36€ + 0,30 meter * 36€ =77,40euro

or by adding the specific amount of cm in the user´s dimension and multiply it with the product price
(User´s Length + fixed length) x Product price

(1,85+0,30)*36€

Any ideas or plugin?

Thank you
Title: Re: Price by Lenght adding a fixed amount
Post by: Jörgen on April 07, 2021, 15:19:13 PM
Max at istraxx (Virtuemart extensions (https://extensions.virtuemart.net/)) has some quantity plugins, check with him.

Jörgen @ Kreativ Fotografi
Title: Re: Price by Lenght adding a fixed amount
Post by: idor on April 08, 2021, 15:50:24 PM
I ´ve seen the istraxx custom size plugin and this one too HexSys Size Plugin for Virtuemart

I ´ve sent a question but hadn't get any reply yet and I´m in hurry that´s why I am asking any suggestions through the forum.
Title: Re: Price by Lenght adding a fixed amount
Post by: pinochico on April 08, 2021, 16:11:08 PM
If Max don't answer as iStraxx, then I don't think so he answer in forum faster.
iStraxx is his company, you have to wait (Im waiting 6 years for update bug in Virtuemart which was in v2.6 correct, but in v3 is not yet and every update i have to hack again and again
Title: Re: Price by Lenght adding a fixed amount
Post by: idor on April 09, 2021, 06:54:11 AM
Oh I am sorry! I hope to have more luck.  :-\
I suppose the plugin will need customization for the additional 30cm
so I cannot buy it first if istraxx cannot customize it for me.

Thank you for sharing your experience anyway

Title: Re: Price by Lenght adding a fixed amount
Post by: Jörgen on April 09, 2021, 08:14:35 AM
Not to say that this is the cause, but jus to make sure, have you checked Your spam? He could have answered and your spam engine could have quarantined the email.

Jörgen @ Kreativ Fotografi
Title: Re: Price by Lenght adding a fixed amount
Post by: idor on April 09, 2021, 09:39:47 AM
YESS! It was in the Spam!
I am not sure if the offset length can work as I want and his response is not clear.

Thank you!

Title: Re: Price by Lenght adding a fixed amount
Post by: Jörgen on April 09, 2021, 10:18:34 AM
It would surprice me if it would not do the work. Is he talking of using an offset of 0,3 to make it work ?

Maybe You could share his answer ?

Jörgen @ Kreativ Fotografi
Title: Re: Price by Lenght adding a fixed amount
Post by: idor on April 12, 2021, 12:34:59 PM
Hi,

The answer doesn´t say much, or how to do it.
Only says
"this should be the right product for you https://extensions.virtuemart.net/product/products/custom-size-detail"

I don´t know if I need some extra customization or how to achive the extra length amount. I am waiting his response..
Title: Re: Price by Lenght adding a fixed amount
Post by: Jörgen on April 12, 2021, 13:01:21 PM
Quote from the demo given by the link
QuoteNow you can sell size specific products tailored to the client's needs, carpets, flooring, wood merchants, metal suppliers, garden furniture makers, window companies, cloth manufacturers, in fact any product that involves cut goods, sold by dimension, length, width, height, surface, the list of uses for the CustomSize plugin is endless. CustomSIZE plugin and VirtueMart calculate the correct price for your customer, dynamically, based on the size they require. You can use a fixed standard price or use the price of a variant selection. You can use a fixed product price and add additonally a price per unit, or use the product price as unit price. You can also use predefine values displayed as dropdowns. The frontend layout is also overwriteable (radio buttons instead of dropdown for example).

Jörgen @ Kreativ Fotografi