Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Text Attribute not working

Text Attribute not working

Locked

Views: 1,796

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 Dec 2009, 9:51 PM
#1
taz78857 avatar

taz78857

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

Text Attribute not working

HI there, I have just set up a new site and am trying to add text attributes. I can set up dropdowns, radio buttons and checkboxes ok.
I have no Option Names or Option Values set up. When I set up the Option Name as text I am unable to go to Product Attributes and I get the error message "Warning: No Option Values have been defined". If I set up a dummy option value I can then go to Attributes but the "Text only........." is not shown in the Option Value dropdown. Any clues? Using latest version of ZenC:wacko:art
Thanks
https://www.calicocrossroads.com.au

23 Dec 2009, 12:52 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Text Attribute not working

The text attribute needs no value set just the name as text
Then you can in the option name manager find it and select "edit" and set the variables

23 Dec 2009, 4:19 AM
#3
taz78857 avatar

taz78857

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

Re: Text Attribute not working

Thanks Kobra.

I just found another (same) solution which has fixed the problem
:D

Re: TEXT field attribute not showing
Can you look at the database table products_options_values and brows to see if you have a products_options_values_id for 0 ...

This is needed for TEXT attributes to work as this is their products_options_values_id ...

If you do not have an products_options_values_id of 0 that is set for TEXT, you need to add that back in with:
Code:

INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');


Linda McGrath
If you have to think ... you haven't been zenned ...

29 Dec 2009, 11:42 AM
#4
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Text Attribute not working

Thank you for sharing this - I had the same issue!