Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2011
    Location
    Roseburg, OR
    Posts
    36
    Plugin Contributions
    0

    Default selecting product category gives incorrect page titles

    Greetings and Salutations:

    I just downloaded Zen Cart v1.3.9h on an XP box and am in the process of setting up my category and products. I sell magazines, so right now I have one main category, Magazines, and a bunch of products (magazine titles) under it. Under each product I have listed an instance of a specific magazine. For instance, Life Magazine would be a product to Magazines and June 4, 1957 would be the specific product under life.

    I noticed that when I select a category, the page title is inconsistent. For instance, when I select Mad Magazine (4th down from the top), the page title is Mad Magazine, which is correct (mad.png). When I select NASCAR Illustrated, which is the next one in order, the title is incorrect and shows the category 2 down (Road & Track) (rnt.png). In some instances, the title shows http://yesterdaysm=index&cPath=1_16 (where 16 changes depending on my selection) (backpacker.png) . In a couple of instances, the title has my product summary information.

    So, depending on my category selection, I get the correct title, my URL with parameter or the entire product description. The storehttp://www.yesterdaysmagazines.com is located at: http://www.yesterdaysmagazines.com

    Any help, direction or comments would be very much appreciated.

    marty
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mad.jpg 
Views:	76 
Size:	19.7 KB 
ID:	9178   Click image for larger version. 

Name:	backpacker.jpg 
Views:	70 
Size:	20.3 KB 
ID:	9180   Click image for larger version. 

Name:	rnt.jpg 
Views:	57 
Size:	17.2 KB 
ID:	9181  


  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: selecting product category gives incorrect page titles

    What PHP files have you been editing?

    And have you tried any customisations to Meta Tags for categories and products, in the Admin Panel?

    The ONLY reason for these "inconsistencies" would be because of manual editing... Zencart will not generate this behaviour of its own accord.

    If you can walk us through what types of edits you have been doing, we may find out where you slipped up.
    20 years a Zencart User

  3. #3
    Join Date
    Apr 2011
    Location
    Roseburg, OR
    Posts
    36
    Plugin Contributions
    0

    Default Re: selecting product category gives incorrect page titles

    As far as I can recall, I've manually edited meta_tags.php and english.php and header.php

    marty

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: selecting product category gives incorrect page titles

    Quote Originally Posted by zmtak View Post
    As far as I can recall...
    Get into the habit of keeping notes about what you are doing... My suggestion would be to REPLACE the files you have edited with originals, and start again.

    Then, keep notes of what you do, so you can UN-DO things if necessary.

    As we don't know precisely what you changed, it is not easy to make suggestions.
    20 years a Zencart User

  5. #5
    Join Date
    Apr 2011
    Location
    Roseburg, OR
    Posts
    36
    Plugin Contributions
    0

    Default Re: selecting product category gives incorrect page titles

    Hey

    Thanks for the reminder. I usually save a copy of the original file before I edit it: foo.php goes to org_foo.php. I don't take notes on what I do, although that is a great idea. I've been thinking about putting my stuff on SVN just for cases like this.

    The good news is that I fixed the problem although I'm not sure what caused it. The problem was in my meta tags via the zen cart product configuration. My meta title was the problem along with all the options to include: price, title,meta tag, etc. Once I figured it out, I edited the problems and they went away.

    Thanks for your helpful suggestions. If I can return the favor, Just ping me.

    marty

 

 

Similar Threads

  1. v154 Help Clicking on category gives me blank page
    By Reenie in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 14 May 2015, 10:41 PM
  2. v139h 1 product in category/record label gives blank page...?
    By doooomed in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 May 2012, 01:52 PM
  3. do not display category and product page titles
    By bginn in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 11 Jun 2010, 09:18 PM
  4. Adding image landing page when selecting CATEGORY
    By techiegirl in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Apr 2010, 02:27 AM
  5. Selecting more than one product to copy/link to new category
    By jessafresca in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 23 Mar 2010, 05:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR