VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: addijhaq on November 03, 2011, 14:44:57 PM

Title: Product Attributes / Custom Fields Issues
Post by: addijhaq on November 03, 2011, 14:44:57 PM
Firstly,

Are there any good tutorials/manuals explaining how to use the Custom Fields/Attributes in VirtueMart 2?

In regards to products, I'm selling T-Shirts, and I think I've understood how to use custom fields, but apparently not.

To create a list for Size Options, I choose Field Type: "String", i leave description and tooltip blank, and in "Default" Box I typed in "small;medium;large".

I make sure i tick the box for "is a list"

I click save.

I look at the preview and it shows a nicely laid out drop down box with all sizes on each line.


When i go to the product page and click the custom attribute box, I select the Size Custom attribute that i have just created.

I hit save/close and then when i check front end... It created a drop down box with ONLY ONE OPTION... it only displays the first line i created which was "small"


Is this an error?

Am I setting up the custom field incorrectly?



-Addison
Title: Re: Product Attributes / Custom Fields Issues
Post by: maxillus on November 04, 2011, 16:10:09 PM
Quote
I hit save/close and then when i check front end... It created a drop down box with ONLY ONE OPTION... it only displays the first line i created which was "small"

HI

I've got the same issue, I am getting crazy with new way to manage attributes. I Think is a bug.
Please tell me if you solved in different way

Max
Title: Re: Product Attributes / Custom Fields Issues
Post by: jjk on November 04, 2011, 17:58:59 PM
Did you read the infos about some types of custom fields here?
http://dev.virtuemart.net/projects/virtuemart/wiki (http://dev.virtuemart.net/projects/virtuemart/wiki)
Title: Re: Product Attributes / Custom Fields Issues
Post by: maxillus on November 04, 2011, 18:43:21 PM
Quote from: jjk on November 04, 2011, 17:58:59 PM
Did you read the infos about some types of custom fields here?
http://dev.virtuemart.net/projects/virtuemart/wiki (http://dev.virtuemart.net/projects/virtuemart/wiki)

Yes I read but nothing was reported  about "Is a List" option and how to create a list on default text box field.
The list is managed properly in virtuemart_custom table, but when  custom fileld is associate to a product all elements of the list excpet the first are lost.  I checked the product_customfields
table and only one record ( the first of the list ) is present in the table. I have to insert all the other manually in that table and it works.

Title: Re: Product Attributes / Custom Fields Issues
Post by: PRO on November 04, 2011, 19:40:31 PM
http://forum.virtuemart.net/index.php?topic=90833.0