News:

Support the VirtueMart project and become a member

Main Menu

Product Attributes / Custom Fields Issues

Started by addijhaq, November 03, 2011, 14:44:57 PM

Previous topic - Next topic

addijhaq

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

maxillus

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

jjk

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

maxillus

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

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.