VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: feliciadesigns on March 27, 2015, 19:46:16 PM

Title: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: feliciadesigns on March 27, 2015, 19:46:16 PM
Currently using
Virtuemart 3.0.6.2
Joomla! 3.4.0
PHP 5.4.38

In the past, I set up all my custom fields as "Cart Variants" and "Is a list" with all the default values specified. This worked great! For each product, I added multiple instances of the custom field so that I could indicate the price.

Now with VM3, "Cart Variants" is gone, so we are using Custom Field Type of "String" with "Cart Attribute", "Cart Input", and "Is a list?" selected. At the product level I can add prices for each available instance of the custom field, but in the front-end I see multiple drop down menus. See screen shots. This is obviously not what I want. There should be one drop down with all the options.

The only way I can get this to work as expected in the front-end is if I de-select "Is a list?". Unfortunately, this is not an option for us, because we have a huge list of choices.

Here is my current setup for the custom field:
Custom Field Type: String
Show Title: Yes
Published: Yes
Custom Group: (none selected)
Cart Attribute: Yes
Cart Input: Yes
Description:
Default value: 2 Feet; 3 Feet; 4 Feet; 5 Feet; 6 Feet; 7 Feet; 8 Feet; 9 Feet; 10 Feet
Tooltip:
Layout position: addtocart
Admin only: No
Is a list?: Yes
Hidden: No

Thank you!
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: Milbo on April 14, 2015, 00:18:35 AM
ah finally I found your post. I added a new option to reenable your case, works now also with images
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: feliciadesigns on April 14, 2015, 19:44:31 PM
Thanks for writing back. Does this mean that this works again?

Is there a new version of Virtuemart that I can download?

Thank you.
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: Milbo on April 14, 2015, 23:03:44 PM
http://dev.virtuemart.net/attachments/download/940/com_virtuemart.3.0.7.4_extract_first.zip

But it is changed again, so test it, but be aware that the param will be moved to another name (so your stuff wont work, when we release vm3.0.8)
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: feliciadesigns on April 14, 2015, 23:41:12 PM
Thanks for the download, but I do not want to install anything that will not work once I upgrade to the next version of Virtuemart.

What do you recommend for a live site?
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: mafaneo on October 22, 2015, 22:37:27 PM
Greetings

Is there a solution for this problem?
Custom Fields: String with Cart Attribute & List NOT working as expected in VirtueMart 3.0.7.4 Joomla! 3.3.6 Stable

i need to put different sizes and amount within my site and Custom Field is not working as it should, is this a bug or is there something im doing wrong?

Thanks
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: GJC Web Design on October 22, 2015, 23:25:00 PM
One post is quite enough... 
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: Tryer on November 25, 2018, 11:15:35 AM
I have this same problem while using Virtuemart 3.4.2 - ie multiple instances of the dropdown list in the front end when "Is a List" is selected.

Is this still a bug in Virtuemart - I just wasted 2 days trying to sort it out.

Comments appreciated.
Title: Re: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3
Post by: Studio 42 on November 26, 2018, 00:53:58 AM
dont use "Is a list", but "as Admin list" so you see the list in the back-end, but option in front are then displayed correctly.