Author Topic: Product Attributes / Custom Fields Issues  (Read 4891 times)

addijhaq

  • Beginner
  • *
  • Posts: 8
Product Attributes / Custom Fields Issues
« 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

maxillus

  • Beginner
  • *
  • Posts: 6
Re: Product Attributes / Custom Fields Issues
« Reply #1 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

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3548
  • using Matomo instead of Google Analytics
Re: Product Attributes / Custom Fields Issues
« Reply #2 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
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

maxillus

  • Beginner
  • *
  • Posts: 6
Re: Product Attributes / Custom Fields Issues
« Reply #3 on: November 04, 2011, 18:43:21 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.


PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)