Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / My Attributes Controller doesn't display my attributes

My Attributes Controller doesn't display my attributes

Locked

Views: 2,737

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Sep 2007, 2:51 PM
#1
yldziner avatar

yldziner

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

My Attributes Controller doesn't display my attributes

I have created my option name and option value. When I go into the attributes controller nothing shows up under option name or option value. It's really strange because I set up one category of products (appx 10) and everything worked fine. Then I created additional attributes for some of those products and attributes for all of the other products. The attributes for the first category that I set up are still showing when I select any of the products in the attributes controller. But, if I want to add attributes to those products or to any other products, nothing is listed under name or value.

2 Oct 2007, 1:13 AM
#2
yldziner avatar

yldziner

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: My Attributes Controller doesn't display my attributes

HeLp!? Anyone??

3 Oct 2007, 11:36 PM
#3
rvagrrl avatar

rvagrrl

New Zenner

Join Date:
Oct 2005
Posts:
90
Plugin Contributions:
0

Re: My Attributes Controller doesn't display my attributes

This exact thing is happening to my client suddenly. I can't seem to find anything relevant by searching. =(

4 Oct 2007, 12:16 AM
#4
yldziner avatar

yldziner

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: My Attributes Controller doesn't display my attributes

Yo! Zen Team, anyone. Throw me a bone. Ha! I even bought the book but it is no help in this regard.

4 Oct 2007, 1:01 AM
#5
rvagrrl avatar

rvagrrl

New Zenner

Join Date:
Oct 2005
Posts:
90
Plugin Contributions:
0

Re: My Attributes Controller doesn't display my attributes

I got it to work for my client! She had attributes set up like '3/8" charm'. I took out the " and it worked just fine! So maybe you can check your option names and values for any sort of special character.

5 Oct 2007, 2:20 AM
#6
yldziner avatar

yldziner

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: My Attributes Controller doesn't display my attributes

Hey! That's the ticket!! I had " on three different option names. I deleted the " and it's all good. Thanks for the post!!!

26 Feb 2009, 8:09 AM
#7
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: My Attributes Controller doesn't display my attributes

A very old thread, but I happen to run into the same problem so I thought I should post my solution:

Im using advanced att controller module btw, so YMMV

Find this line starting with

TCN_addContent("<?php echo
```Replace by:
```php
TCN_addContent("<?php echo addslashes($attributes->fields['products_options_name']); ?>+#+<?php echo addslashes($attributes->fields['products_options_id']); ?>+#+<?php echo addslashes($products_options_values_name); ?>+#+<?php echo addslashes($attributes->fields['products_options_values_id']); ?>");

This solution allows you to keep the quotes in the option names and value names