Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Attribute Text does not show text entry box, HELP!

Attribute Text does not show text entry box, HELP!

Locked

Views: 3,269

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Nov 2006, 6:47 PM
#1
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Attribute Text does not show text entry box, HELP!

I'm working on adding functionality to my site by allowing customers to customize their decals with their names, team name, numbers, etc. I've added a new text attribute and added it to the custom product. When I look at the page I see the text label 'name' but I do not see the text box for entering the information!

Can someone tell me what I'm doing wrong?

Here's a link to the product I'm working with:

http://www.decaldepot.net/zencart/index.php?main_page=product_info&cPath=39_41&products_id=548

Thanks

7 Nov 2006, 6:55 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attribute Text does not show text entry box, HELP!

Do you have the Attribute set up as:
Option Name: Name
Option Type: TEXT

There should be no Option Value added to the Option Name

When you add the Attribute to the Product you select:
Option Name: Name
Option Value: TEXT [RESERVERED FOR TEXT/FILE ATTRIBUTES ONLY]

7 Nov 2006, 7:08 PM
#3
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Re: Attribute Text does not show text entry box, HELP!

Ajeh:

Do you have the Attribute set up as:
Option Name: Name
Option Type: TEXT

There should be no Option Value added to the Option Name

Yes, that is how I have this set up.

Ajeh:

When you add the Attribute to the Product you select:
Option Name: Name
Option Value: TEXT [RESERVERED FOR TEXT/FILE ATTRIBUTES ONLY]

Okay, this must be where the problem lies. I go to 'Adding New Attributes' I pick 'Name [Text]' with no option value. I do not see the 'TEXT [RESERVERED FOR TEXT/FILE ATTRIBUTES ONLY]' that you mention above. I tried to edit the attribute after adding it but it doesn't appear that I can type in the editing text box (it does appear but is only one character wide by a few lines high).

Any ideas?

7 Nov 2006, 7:52 PM
#4
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Re: Attribute Text does not show text entry box, HELP!

I've also noticed something odd about the text box:

<h4 class="optionName back"><label class="attribsInput" for="attrib-3-">Name</label></h4>

Where my pulldown boxes show up as :

<h4 class="optionName back"><label class="attribsSelect" for="attrib-2">Size</label></h4>

Any idea on why the textbox is called 'attrib-3-' instead of 'attrib-3'?

7 Nov 2006, 8:42 PM
#5
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Re: Attribute Text does not show text entry box, HELP!

I found the answer in another post http://www.zen-cart.com/forum/showthread.php?t=31991&highlight=problem+text+attribute

INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');
```I guess I should have done a better job of searching before posting.. All's well now!
8 Nov 2006, 1:53 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attribute Text does not show text entry box, HELP!

Busted the default settings, eh?! :eek:

Thanks for posting the solution to this and how deleting "too" many things will result in issues when trying to run Zen Cart ... :smile:

8 Nov 2006, 12:14 PM
#7
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Re: Attribute Text does not show text entry box, HELP!

Ajeh:

Busted the default settings, eh?! :eek:

Thanks for posting the solution to this and how deleting "too" many things will result in issues when trying to run Zen Cart ... :smile:

Linda, not positive but I think it may have happened with the osc2zencart database conversion script I ran. I am very very cautious about deleting/changing things by hand so I doubt that I'm the one to blame :D