If this is your first visit, check our documentation. To post, register or login.

Attributes Value Issue?

Locked

Started by sports_guy on 23 Aug 2010, 7:54 PM · Views: 938

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
23 Aug 2010, 7:54 PM
#1
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Attributes Value Issue?

I am trying to set up attributes (yes I have read and printed the attributed tutorial :smile:) The problem is that none of my option values I have assigned and added to the product show in the drop down menu. Please see the live attribute drop-down on the website here: http://www.collars2switch.com/collars-c-2/collar-8-12-x-small-p-1

I have set an option name first called: collar color.
I have also assigned 3 option values to the option name of collar color and even given them sort orders.

So now I have an option name of: collar color.
I have option values assigned: select from below..., black, and purple (which are my three options).

I then went into the attributes controller and added all three of these option values to a product, flagged the: select from below as required and display only. Soooo... it should show three options in the dropdown right? It only has one option of: Select Collar Color which I didn't even create.

Why are my assigned option values not showing when I can see them in the attributes controller? When I preview it looks fine but does not show live on the site.

Any help would be much appreciated!!

Building a better web, one site at a time: Dayton Web Design

23 Aug 2010, 8:28 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Attributes Value Issue?

What version of Zen Cart?

What is the exact text for each of your Option Values?

What happens if you turn off your SEO/rewrites?

What happens if you switch to the Classic Template?

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

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Aug 2010, 10:11 PM
#3
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

Ajeh:

What version of Zen Cart?

What is the exact text for each of your Option Values?

What happens if you turn off your SEO/rewrites?

What happens if you switch to the Classic Template?

  1. Zen Cart Version 1.3.9d
  2. Exact Text for option values: Location: Catalog>Option Value Manager.
    a) ID: "3", Option Name: "Collar Color", Option Value: "Please select ...", Default Order: "0"
    b) ID: "1", Option Name: "Collar Color", Option Value: "Black", Default Order: "10"
    c) ID: "2", Option Name: "Collar Color", Option Value: "Purple", Default Order: "20"
  3. I don't know how to turn off my SEO/rewrites. I had a problem duing install. I do not see anything about SEO in the admin panel. But SEO is working I can see that it is working and being used.
  4. When I changed to the classic contemporary green template the attributes drop-down shows and works just fine!

So apparantely it shows fine for the classic contemporary green template and has error with my current template. Any ideas?

Building a better web, one site at a time: Dayton Web Design

23 Aug 2010, 10:29 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Attributes Value Issue?

Using something like Beyond Compare from scootersoftware.com you should be able to compare the original files to your template and override files for things like:
/includes/templates/template_default
/includes/templates/your_template_dir

/includes/modules
/includes/modules/your_template_dir

and see if you can see anything odd that might stand out, now that you have narrowed the problem down to your template ...

NOTE: it could be other override files, but these are the first places that I would look ...

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

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Aug 2010, 10:51 PM
#5
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

Would it be in the attributes area of the template? I have uploaded lots of add ons under my custom template, this is not going to be easy!!

Also I have installed: stock by attributes (numinex), bulk attributes creator, and dynamic dropdowns of stock by attributes.

What a mess!! Any particlular file like header.php or anything that might point to the correct area. I am guessing it has to be only with the atttributes coding.

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 12:23 AM
#6
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

Hmmm. I compared all of these:

/includes/templates/template_default
/includes/templates/your_template_dir

/includes/modules
/includes/modules/your_template_dir

and there was only one attributes difference in template but I changed and it made no difference. The logo, footer, and stat counter should not have caused this. The includes/modules folder only had two files (there were no differences). Now looking into the english language file.

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 12:33 AM
#7
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

Wasn't any differnces in the language files (especially to do with attributes). Maybe I better check my attribute files I uploaded and see how they differ.

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 12:58 AM
#8
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

OK I am stuck now. I used the file compare for the template areas, the language areas, and some admin files that relate to the attributes. Since I have three different attributes add ons could it be a problem with these confilicting?

I just don't know where to look for this type of error.

Any help please

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 1:35 AM
#9
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

I have it. I copied the current template and added a 1 after the name. Loaded it and the error was still there.

I then uploaded the css files, image files, and template_info.php. And created a new template (with 2 after the name) Now the dropdown attributes show fine. Meaning the problem is within a page of my custom: includes>template>my-template area.

I am uploading one common file at a time (where the issue is) and so far working. One of these files are going to cause the error and whalaaaa. I got the page causing the error.

Surprising the file compare utility did not show a difference in any attributes that would cause this.

Anyway thank you for your help.

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 1:40 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Attributes Value Issue?

There definitely could be a problem with them conflicting. You might check the mods' support threads to see if there is any mention of compatibility or conflict with the others. Also check the attribute mods' original downloads to see if any two of them contain versions of the same file. If so, you will have to merge them or else at least one of the mods (and maybe the base functions) will not work right.

24 Aug 2010, 2:01 AM
#11
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

It was this file: tpl_modules_attributes.php in this location:
includes>templates>MYTEMPLATE>templates>tpl_modules_attributes.php

I deleted it an all if fine. It was from the addon: "Dynamic_DropDowns_for_Stock By Attributes" version 1.3.4. I don't have anything to compare that file to, so I just deleted it and it seems to work fine. :D

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 3:12 AM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Attributes Value Issue?

The original file is in:
/includes/templates/template_default/templates/tpl_modules_attributes.php

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

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Aug 2010, 6:17 PM
#13
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Attributes Value Issue?

Ajeh:

The original file is in:
/includes/templates/template_default/templates/tpl_modules_attributes.php

Hmmm. The downloaded file has it as:
includes>templates>YOUR_TEMPLATE>templates>tpl_modules_attributes.php

Oh well I guess I don't need this add on to begin with. Thank you for the feedback (now I am afraid to switch these two files). I don't want to mess up anything else. :unsure:

Building a better web, one site at a time: Dayton Web Design

24 Aug 2010, 6:28 PM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Attributes Value Issue?

includes>templates>YOUR_TEMPLATE> is where the custom version of the file goes.
/includes/templates/template_default/ is where the original stock version lives, and you should not change those.

24 Aug 2010, 6:28 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: Attributes Value Issue?

The Add On is using an override that is in:

/includes/templates/YOUR_TEMPLATE/templates/tpl_modules_attributes.php

the file that the Add On is overriding is located in:

/includes/templates/template_default/templates/tpl_modules_attributes.php

I was just pointing out to you where the Original file that is in Zen Cart core code is located so that if you wanted to compare the changes that the Add On makes, then you could do that ...

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

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!