VirtueMart Forum

VirtueMart 2 + 3 => 3rd party extension => Topic started by: AH on December 20, 2014, 10:53:56 am

Title: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on December 20, 2014, 10:53:56 am
Designed to offer a simple way to setup product variants such as size / colour etc - without the  need to create multiple VM products

The Plugin has been modified to a new name - VMCustom - VM Product Cart Variants (this should help avoid confusion caused by old name of DropBox as this did not reflect functionality)


Update June 2018 - Version 5.1

Tested on VM3 using J3 php5.6 and php7.  Its functionality is based on the original DROPBOX by PRO with greater functionality  :)

Download zip file is at the bottom of this post


This plugin does not handle stock control at a variant level

Plugin Features:

    Apply A Template Of Options with just 1 Click includes pricing adjustments -     Options are configured as a simple comma separated List
    Creates a Product drop down selection list of cart variants Or a Radio List (Radio list is new option in version 5 - thanks to Stefano Pascucci )

    Price Variants supported for each cart variant:-
Each variant can use a different price rule

Additionally you can adjust cart weight using the price multiplier * Where the Multiply rule is used, you can optionally modify the cart product weight by the same factor, (Configuration option for each Product cart customfield variant)

Instructions:
Install The Plugin,  Enable It
Go to custom fields.
Click "new"

Fill in the title. 
Make it a cart variant and cart input.
Additional parameters - Choose Plugins, Then "VMCustom - VM Product Cart Variants"
If you save at this point the configuration parameters will be shown. (If you alrady know what to complete - you can just add the parameters required)
Fill In the option field separated by Commas.
Then save.

Structure t@mv,
t = Item variant - Drop selection text and Item variant text that will show in cart
@ = separates the modifier from the selection text - If there is no modifier nothing else is needed
m = modifier either + - * or =
v = modifier value
, = separates variants

Examples

1.Simple selections no price adjust
Config: Red,Green,Blue
All variants are at Retail

2.Adjust the price + or -
Config: Sml,Med@+1,Lrg@+2
Give prices of: Sml = Retail, Med = Retail +1, Lrg = Retail +2

3.Multiply the price *
Config: 1m,2m@*2,3m@*3
Gives prices of: 1m = Retail, 2m = Retail * 2, 3m = Retail * 3

You can also use decimals here e.g. 1 feet,1.5 feet@*1.5,2 feet@*2

4.Sell fixed multiples *
Config: 2kg@*2,4kg@*4,6kg@*6

5.Fix the price of a variant
Config: Red,Green,Blue@=12.50
Gives prices of: Red Green = Retail, Blue = 12.50

And of course you can do a combination of all of the above

6. Append a string to the sku
Config: Sml@@sml,Med@+1@med,Lrg@+2@lrg
Gives SKU's of: SKU: origsku-sml, origsku-med, origsku-lrg

Note: you need 2@ symbols before the sku variant else you will change some other setting

7. Change the cart weight for a variant

Config: Sml,Med@@@2,Lrg@@@4
Gives cart weight of: Sml = product weight, Med = 2, Lrg = 4

Note: you need 3 @ symbols in a variant for the weight to be set correctly otherwise you will change some other setting
Setting a weight using this parameter will override any weight calculated by the multiplier option.


8. Product variant selections can be a set of mixed types if required
Config: Sml@*2,Med@+12,Lrg@-2
The custom field setup WILL save to the product with price variations.
You can adjust this in an individual product if required.


Multiple Cart variant customfields

It is possible to have multiple Cart variant customfields for a product
Each Cart variant customfields creates its' own value based on the Standard sales price of the item. They are not chained or linked, a selection in one product drop box that produces a price variant will not affect any other drop box calculation. 



The plugin is offered "as is" so make sure you test thoroughly before deploying in a live environment.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on July 03, 2017, 11:24:17 am
Updated version.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: lekreator on September 09, 2017, 05:39:44 am
its possible to make percentage?

IE: variant 1 20%, variant 2 30% ?
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on September 09, 2017, 10:38:15 am
Quote
IE: variant 1 20%, variant 2 30% ?

Code: [Select]
3.Multiply the price *
Config: 1m,2m@*2,3m@*3
Gives prices of: 1m = Retail, 2m = Retail * 2, 3m = Retail * 3

You can also use decimals here e.g. 1 feet,1.5 feet@*1.5,2 feet@*2

So to increase by 50% =  *1.5
To decrease to 90% = *.9
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: arkimede360 on September 11, 2017, 12:39:40 pm
Hi, the price is whitout tax, es:

Code: [Select]
15 gg lavorativi@+60
How to add price with tax?

Thank you.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on September 11, 2017, 13:20:32 pm
Yes the prices are displayed without tax

You can modify your template to "hard code" a tax calculation

I have no plans to modify the plugin to support the displaying the modifier inclusive of tax
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Vickham on September 28, 2017, 01:00:27 am
EDIT: I solved this. Thanks!

Hi!

How can I add a price modifier for a cart weight total?

My product weights 1kg so I use 6kg@@@6 to add a variant of 6kg to the cart weight but also I want to add a +$10 for that variant of 6kg
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on September 28, 2017, 11:15:39 am
Format is :-

variantdisplayed@pricemodifier@skumodifier@weightmodifier

So in your case:-

variantdisplayed@pricemodifier@@weightmodifier

6kg@+10@@6


 :)



Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Vickham on September 28, 2017, 23:56:45 pm
Thanks a lot AH!! You're a lifesavior!  :)
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Pirosoft on October 01, 2017, 15:40:31 pm
Hi, i have a problem with this plugin, if a set a multi variant calculations, don't give the right price.
for example i have the product with base price 79.9
And the custom qvariant:
1000@=79.70,3000@=105.00,5000@=128.50,7500@=156.75,10.000@=182.00,15000@=234.00,20000@=292
and in other i have:
7 days@*1,7 days@*1.15

if i set 3000 from the first
and 7 days from the second
105*1.15=120,75

But your plugin give me the price: 116,96

Because make the calcs over the base price in virtuemart product:
79,9*1,15-79,9=11,985
105+11,985=116,96

how i can resolve?

thanks

Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on October 02, 2017, 09:29:18 am
This is relevant to your issue:-

Code: [Select]
Multiple Cart variant customfields
It is possible to have multiple Cart variant customfields for a product
Each Cart variant customfields creates its' own value based on the Standard sales price of the item. [b]They are not chained or linked, a selection in one product drop box that produces a price variant will not affect any other drop box calculation. [/b]

This plugin does not chain multiple boxes - one variant will not affect another.

I have no plans to modify the plugin to support this.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: rvbgnu on October 06, 2017, 01:53:32 am
Hi AH,

Thank you for keeping this plugin up-to-date.

I migrated in 2015 a website from VM 2.6 to VM 3.0.x, which was using the Dropbox plugin by Pro. I found this thread and followed the discussion to get tips and SQL commands to update the old format. I took some notes, and also URLs of messages. Unfortunately, these posts are no longer available. Why?
http://forum.virtuemart.net/index.php?topic=127362.msg436581#msg436581 (http://forum.virtuemart.net/index.php?topic=127362.msg436581#msg436581)

Do you have instructions on how to do it?
(at that time, your plugin was in version 3.0.7).

I'm looking forward to hearing from you.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on October 06, 2017, 09:27:48 am
The posts were removed because they had become outdated and irrelevant to the current version.

Regarding the updating from old versions to new version:

In table: #_virtuemart_customs

The content of custom_element and custom_value fields should now be qvariant

The content of custom_params should be in the format:

custom_qvariant="1m,2m@*2,3m@*3,4m@*4,5m@*5,6m"|custom_qvariant_weight="0"|
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: rvbgnu on October 06, 2017, 11:01:59 am
Thank you for your reply A, it helps a bit. But I am not comfortable with SQL commands and Regex, so would you have the SQL to migrate from the last dropbox format (on VM2) to the current one? As I kept old versions on my dev environment, I would be able to test and adjust them if needed.

It should be helpful also to people with late migration.

And even if I did it on previous posts (now removed), thank you A for providing us with an up-to-date version of this plugin, and much better for free! I really appreciate it.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on October 06, 2017, 12:11:22 pm
Quote
so would you have the SQL to migrate from the last dropbox format (on VM2)
It should be helpful also to people with late migration.

Sorry but I never did a migration.

You will need to modify two tables  - my suggestion is to create a "dummy Customfield Cart variant" for the new plugin and see the changes you need to make to any existing ones.

#_virtuemart_customs  (where the Master variant is stored)
AND
#_virtuemart_product_customfields (where variant for the product is stored)




Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on November 07, 2017, 10:24:52 am
rvbgnu
any luck?
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on January 05, 2018, 10:32:43 am
I hope this plugin is helping you out there.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on January 09, 2018, 17:10:16 pm
Always free
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Sileta on February 04, 2018, 19:57:59 pm
Hi guys, a nice plugin. But I have the following problem. I have all products on discount, because the calculation does not work properly. He always takes the value of the main price. Does one of you know a solution? Best regards
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 05, 2018, 10:19:22 am
Quote
because the calculation does not work properly

How are you applying your discounts?

As far as I am aware - the valuation works as coded and is correct
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Sileta on February 05, 2018, 20:49:50 pm
Hello, I have uploaded a few screenshoots for clarity. If I, as can be seen on picture # 2, on the standard price, the color selection and he should 30% to calculate that works flawlessly. But as soon as I choose a higher price, he counts wrong. He then adds the difference of standard price. the result on picture 3 is wrong. Actually, the result should be 345.85 in picture # 3, but it's 307.67. How can you adjust that to make it right? Please excuse my bad english. Thank you for your help
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 06, 2018, 10:19:53 am
The plugin does not "chain" multiple methods
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Sileta on February 07, 2018, 19:57:39 pm
an adaptation of the plugin is not possible ???
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 08, 2018, 16:04:06 pm
You can do whatever you like to the plugin - I have no intention of making changes
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Sileta on February 08, 2018, 20:14:13 pm
would something like this possible with this plugin ??? How big would the effort ??? I would be very interested
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 09, 2018, 16:02:14 pm
I have no idea of the effort required or the possibility of doing such a thing
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: SteP[IT] on February 10, 2018, 11:30:05 am
I'm considering to use your nice plugin for some simple products having 1 attribute with less than 5-6 values: is there a way to modify it to get values listed as radiobutton instead of dropdown list? It will help alot to get a fast view of all available values for a single option. Regards
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 10, 2018, 15:40:53 pm
You should be able to adjust the template default.php to your needs

Here is the api details for the radiolist

Quote
https://api.joomla.org/cms-3/classes/JHtmlSelect.html
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: SteP[IT] on February 10, 2018, 18:34:28 pm
Modifying the template to use the radiolist API ( substituting 'select.genericlist' with 'select.radiolist' ) produces a radio list having empty 'value' and 'text' fields.
Looking at the API, it should works in that way: am I missing something?
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 10, 2018, 23:19:03 pm
You must be - I am using dropdowns and have never tried radios

It should be possible for you to figure it out
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: SteP[IT] on February 11, 2018, 11:49:30 am
I can't find where I'm wrong.
I have set this in default.php to get different API outputs:
Code: [Select]
$html = JHTML::_('select.genericlist', $selects,'customProductData['.$product->virtuemart_product_id.']['.$params->virtuemart_custom_id.']['.$params->virtuemart_customfield_id .'][custom_qvariant]','class=customqvariant','value','text',$selects[0],false,true);
$html .= JHTML::_('select.radiolist', $selects, 'customProductData['.$product->virtuemart_product_id.']['.$params->virtuemart_custom_id.']['.$params->virtuemart_customfield_id .'][custom_qvariant]',false,'value','text',$selects[0],false,true);
$html .= JHTML::_('select.suggestionlist', $selects, 'value','text',$selects[0],false,true);

The only one not working is the radiolist, this is the html I'm getting:
Code: [Select]
<span class="product-field-display">
<select id="customProductData11902412105custom_qvariant" name="customProductData[1190][24][12105][custom_qvariant]" class=customqvariant>
<option value="1" selected="selected">1</option>
<option value="2">2</option>
</select>
<div class="controls">
<label for="customProductData[1190][24][12105][custom_qvariant]" id="customProductData[1190][24][12105][custom_qvariant]-lbl" class="radio">

<input type="radio" name="customProductData[1190][24][12105][custom_qvariant]" id="customProductData[1190][24][12105][custom_qvariant]" value=""  />
</label>
<label for="customProductData[1190][24][12105][custom_qvariant]" id="customProductData[1190][24][12105][custom_qvariant]-lbl" class="radio">

<input type="radio" name="customProductData[1190][24][12105][custom_qvariant]" id="customProductData[1190][24][12105][custom_qvariant]" value=""  />
</label>
</div>
<datalist id="Array">
<option value="1">1</option>
<option value="2">2</option>
</datalist>
</span>

I shows that also datalist data are correctly generated, but not the radiolist ones.
Any hint?
Thank you in advance.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 11, 2018, 15:01:30 pm
Radiolist should be what you are aiming to create.

If you cannot get it to work with a radiolist you may need to look at the data being created prior to the display.

I do not provide support or development for the plugin - it was created to meet my needs and the needs of another forum member.



Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: SteP[IT] on February 18, 2018, 17:53:17 pm
I have sorted it, having spare time to do it.
I have made a simple change, and now you can specify if output has to be rendered as radio, giving the expected radio buttonlist  instead of the original dropdown one.
Are you interested to share with others my mod?

Radiolist should be what you are aiming to create.

If you cannot get it to work with a radiolist you may need to look at the data being created prior to the display.

I do not provide support or development for the plugin - it was created to meet my needs and the needs of another forum member.

Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 18, 2018, 19:15:54 pm
StepIT

Great you got it working  :)

By all means share what you have done and I can consider if I will add it to base code.

Radios are unusual in the context of options - but if you only have a few it could be good to show as a radio option.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: SteP[IT] on February 18, 2018, 19:30:44 pm
Attached here the file I have changed, you can sort the changes by comparing them with originals.
I found this useful when using few field values, allowing you to have a better global view in mobile viewport.
You have also to add the new admin strings to the .ini language file.

btw, you can see it working here:
https://www.toolware.it/it/prodotti-per-categoria/recupero-posta-elettronica/stellar-ost-to-pst-converter/stellar-phoenix-ost-to-pst-converter
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on February 23, 2018, 16:50:46 pm
StepIT

Nice implementation - looks good

I will take a look and see what I can do with the code you have kindly provided.   :)
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: 1Jumpman on May 25, 2018, 00:45:24 am
Is posibility to add multipy (*) to final product price (total summ of all customs fields choosed)  not multiply to Standard sales price? I need to add 133% to final price of product with some cf.

Regards
Michal
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on May 25, 2018, 09:17:09 am
The qvariant does not have this capability
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: 1Jumpman on May 25, 2018, 11:00:58 am
Ok. It's clear. But you know how to make some modification? Changing Standard Pirce to final price?

Thenks for help
Michal
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: m.davide82 on June 07, 2018, 10:46:00 am
Hello,

I have 2 questions:

- How do I remove the price in the dropdown?
- How do I change the price in the dropdown with the total (included baseprice)?


Thanks,
Davide
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on June 07, 2018, 14:40:12 pm
Create a template override for default.php
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: zifou57 on June 25, 2018, 22:46:56 pm
Hi all,

We install this plugin today, but for many prices, we have a price override, and we want to apply the reduction to the price without tax.

With this plugin is possible ??

Thank you.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on June 26, 2018, 00:14:20 am
The price override - is exactly what it says - it overrides all other prices.

So no, you cannot use this plugin
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: atlantis05 on June 29, 2018, 18:03:38 pm
Hello "AH"

I've been reading the thread of the forum and everything is pretty well explained, but I can not get the @ multiply me by the amount agreed.

Attached image with the images and settings

Thank you
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on June 29, 2018, 18:34:37 pm
I configured the variant using euros

Multiply should not show ANY value as it is simply a multiple of the single item price.

In your Product customfield you look like you have spaces there should be no spaces in the master nor the product variant options:-

1m,2m@*2,3m@*3,4m@*4,5m@*5

There should be NO spaces  - a space will give you the problem you have.

In addition "Plug-ins  porcentaje" should be 0 not 10.00000

You can remove these spaces - or try the new version 5.1 now available in post 1
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: shanel on August 15, 2018, 16:46:51 pm
HI ,
I need help.
I updated VM version to 3.4.12.
now after i choose one from the dropdown , it doesn't change the price.

please help...

you can see it not working here : www.shel-siet.co.il

 please please help.
thanks
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: m.davide82 on October 08, 2018, 16:39:54 pm
Hello,

after an update, if I put each record in each line, in frontend I see:
&#13;&#10;

How can I solve it?


Thanks,
Davide
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on October 08, 2018, 18:23:09 pm
I have no idea - you have provided no information to help even understand your issue.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: m.davide82 on October 08, 2018, 18:42:43 pm
Hello,

thanks for your answer.

If I write the records like this:
Record1, Record2, Record 3

Everything is ok.

But, when I write:

Record 1,
Record 2,
Record 3

I have the problem I mentioned above.

In the version 1 of the plugin, everything was working right.


Thanks in advance.
Davide
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on October 08, 2018, 21:14:18 pm
Those characters are encoded carriage returns and line breaks

I was unaware that they were ever handled in the parameters.

They should not be there imho or, you can code the plugin to handle them
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: m.davide82 on October 10, 2018, 10:49:41 am
Solved using a str_replace after line 29.

Code: [Select]
$text = str_replace(array("&#13;&#10;","\n", "\t", "\r"), '', $text);
Thanks.
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on October 10, 2018, 16:59:36 pm
Yes - that will do it  :)

Thank you for the update - glad you got it solved
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: Radek_cz on November 15, 2018, 10:54:42 am
Hi,
can you add a small image to the value? Thank you
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on November 15, 2018, 18:01:53 pm
I have no intention of adding any images - you can develop it yourself as the plugin is free for you to adjust as you see appropriate for your purposes
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: m.davide82 on November 26, 2018, 11:19:34 am
Hello,

the problem came back.

Now when I add to the cart the product, I see
&#13;&#10;

I used this code:
Code: [Select]
$text = str_replace(array("&#13;&#10;","\n", "\t", "\r"), '', $text);
Any idea on how can I solve this?


Thanks,
Davide
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on April 11, 2019, 10:41:31 am
Still Free to al users
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: SteP[IT] on May 02, 2019, 07:00:41 am
I installed VM 3.4.3 and now it seems the plugin doens't work anymore.

I have set the plugin to show those prices:

Licenza 1 utente@=210@11-1,
Licenza 2 utenti@=420@11-2,
Licenza 3 utenti@=615@11-3

but the product price does not change when selecting one of those values.
Adding to cart you get the right variant description added (ie "Licenza 1 utente") but it adds the base product price
Any hint?
Title: Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
Post by: AH on May 02, 2019, 09:57:01 am
The latest version I am testing is 3.4.5 and everything is working perfectly

The plugin has also been tested on previous versions and was working as designed.

However it looks as though you specify the first variant as a price adjustment so when the page loads - the variant is not being shown on page load

from my testing - It does add the correct value to cart

Are you saying that this behaviour was different in older versions of VM, because from my testing - it has always functioned in this manner