Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    May 2006
    Posts
    38
    Plugin Contributions
    0

    Default meta tags for a product - title/tagline

    When adding some meta tags to a product, I noticed the title/tagline still reads "Zen Cart! The Art of eCommerce" or whatever it is standard. There is a note at the bottom of the meta tags page that says where the title/tagline is defined, and to me it appears to be the same place as the title/tagline for the entire website. as you can see from the site, http://store.madhouseminis.com the title and tagline have been changed.

    Is the title/tagline for the meta tags for the individual product defined in some place else?

    Thanks for the help, guys.

  2. #2
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    Go to Admin > tools > developer's toolkit.

    Search for "Zen Cart! The Art of eCommerce" - put phrase in lower left box and search all files. This will give you the file to edit.

    Product meta tags are edited through the admin > catalog > products - look for the an orange or black symbol on the right of the product. Site meta-tags, title, keywords, and tagline are edited in \includes\languages\CUSTOM\meta_tags.php and \includes\languages\english\CUSTOM\meta_tags.php

  3. #3
    Join Date
    May 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    Oh, poopie!

    I didn't realize there were two meta_tags.php!

    Thanks...haven't fixed it yet, but I will soon.

  4. #4
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    atmh,

    Now that you mention it, that does seem odd. I merely looked in my own 1.26 template and found those two. It is very possible that one is redundant - especially in ver 1.3+.

    Let me check on that and will post findings later.

    Either way, meta_tags.php is the huckleberry your are looking for.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: meta tags for a product - title/tagline

    This file is mearly loaded in the wrong place:
    \includes\languages\CUSTOM\meta_tags.php

    The correct location for the original is:
    \includes\languages\english\meta_tags.php

    And your override goes in the:

    \includes\languages\english\your_template_dir\meta_tags.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: v1.5.5]
    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!

  6. #6
    Join Date
    May 2006
    Posts
    38
    Plugin Contributions
    0

    Re: meta tags for a product - title/tagline

    First up, I forgot to mention, though it may have been assumed, I'm using v1.3.
    The location of my override meta_tags.php:

    \includes\languages\english\CUSTOM\meta_tags.php

    (note that CUSTOM is, of course, not what it is really named, just a symbol for my custom template)

    The part in meta_tags.php that defines title and tagline (lines 10-14):

    // page title
    define('TITLE', 'Mad House Minis');

    // Site Tagline
    define('SITE_TAGLINE', 'Home of the Grease Car Mini');
    Once again, these definitions work on the rest of the website, the title and tagline show up properly on all the web pages, but when defining meta tags for specific products, it is different. If v1.3 uses only one meta_tags file, then it should work correctly, no?

    Just for the hell of it, I tried putting my same meta_tags.php in the:
    \includes\languages\CUSTOM\meta_tags.php
    directory...didn't make a difference. I'm confused

  7. #7
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    \includes\languages\CUSTOM\meta_tags.php is a mistake in my earlier cart.

    To edit meta tags for each product - Admin > Catalog > categories/products
    Look for the black symbol at the far right and click on it. When you have product meta tags set the symbol is orange.

  8. #8
    Join Date
    May 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    yeah, I know how to change the meta tags for the product, I got that down good. But it automatically assigns the Title/Tagline based on meta_tags.php, and what I'm saying is that it is still doing it wrong: It's not using my meta_tags.php override (or so it seems).

    a quote from the bottom of the form to fill out individual meta tags for products:

    NOTE: The Site/Tagline is your defined definition for your site in the meta_tags.php file.
    that's the stuff I'm having problems with, and as far as I know the meta_tags.php file is changed, as can be seen by the fact that the title of the website has been changed, which you can clearly see in your browser if you go to the web store ( http://store.madhouseminis.com ) by looking at the tool bar and seeing that it says "Mad House Minis, Home of the Grease Car Mini."

    Hope that clears up the problem I'm having...and it's still not solved...

  9. #9
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    Please check a few things.

    1. Make sure your custom folder (madhouseminis?) is spelled correctly every time.

    2. Make sure the \includes\languages\english\madhouseminis\meta _tags.php has the change in title that you want.

    Are you wanting each product page to have a new title and tagline that is different from the site title/tagline?

    In the product meta-tag you have boxes for title, keywords and description. You also have "Mark What the Product's Meta Tag Title Should Include:" Try saying YES to Product Name and Title and say NO to Title/Tagline.

    Does that do what you want?

    Sorry if I am being dense here.

    hth

  10. #10
    Join Date
    May 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: meta tags for a product - title/tagline

    Alright, screenshot time.
    First of all, the title and tagline are working correctly in my meta_tags.php override for the website, as can be seen from this screenshot:



    Now you can see when I was defining the meta tags for a product, the title/tagline are different now:



    Now, I THINK those are both defined in the same place, yet it's working in one instance, yet not the other. So either I am mistaken and they're not defined in the same place, or something else is screwed up.

    It's not enough to just mark it as "excluded" I want it to work properly.

    Also, I haven't yet read anything on writing good meta tags, so I don't know if I got that part good/optimized yet. If you see something I did completely wrong while writing the actual meta tags, feel free to chime in :)

    Thanks for the help, even if we haven't quite got this sorted yet.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 28 Oct 2013, 11:22 PM
  2. Meta Title/Tagline when adding product
    By ebaobao in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Aug 2008, 01:21 AM
  3. Meta Tags Showing Product Model in Title
    By bgroup99 in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 14 May 2007, 10:40 PM

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