Author Topic: Custom Fields: String with Cart Attribute & List NOT working as expected in VM3  (Read 3161 times)

feliciadesigns

  • Beginner
  • *
  • Posts: 3
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!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
ah finally I found your post. I added a new option to reenable your case, works now also with images
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

feliciadesigns

  • Beginner
  • *
  • Posts: 3
Thanks for writing back. Does this mean that this works again?

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

Thank you.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
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)
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

feliciadesigns

  • Beginner
  • *
  • Posts: 3
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?

mafaneo

  • Beginner
  • *
  • Posts: 8
  • A beginner
  • Skype Name: mafamafa6
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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9778
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
One post is quite enough... 
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Tryer

  • Jr. Member
  • **
  • Posts: 74
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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4363
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
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.