Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Meta Tags Showing Product Model in Title

    Hi,

    I have read the posts about editing metatags.php so that the model number doesn't show. I have edited my metatags.php file to this:

    PHP Code:
          if (META_TAG_INCLUDE_MODEL == '1' && zen_not_null($product_info_metatags->fields['products_model'])) {
            
    $meta_products_name $product_info_metatags->fields['products_name'];
            
    //$meta_products_name = $product_info_metatags->fields['products_name'] . ' [' . $product_info_metatags->fields['products_model'] . ']';
          
    } else {
            
    $meta_products_name $product_info_metatags->fields['products_name'];
          }
          
    $meta_products_name zen_clean_html($meta_products_name); 
    As specified in the posts I've read and when you go to a page such as http://vapenow.com/index.php/Volcano...+Helens-p-114/ the model number still shows. What am I doing wrong?

    Thanks in advance for any assistance!

    Nate

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Meta Tags Showing Product Model in Title

    You shouldn't need to edit anything to get the model out of the header. Look in admin > Catalog > Product Types > Product-General > edit layout > Show Metatags Title Default - Product Model.

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

    Default Re: Meta Tags Showing Product Model in Title

    Or peek in the Configuration ... Product Info ...
    Meta Tags - Include Product Model in Title
    Do you want to include the Product Model in the Meta Tag Title?

    0= off 1= on
    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!

  4. #4
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Re: Meta Tags Showing Product Model in Title

    Quote Originally Posted by gjh42 View Post
    You shouldn't need to edit anything to get the model out of the header. Look in admin > Catalog > Product Types > Product-General > edit layout > Show Metatags Title Default - Product Model.
    Quote Originally Posted by Ajeh View Post
    Or peek in the Configuration ... Product Info ...
    Hi and thanks for the suggestions. I tried both of these, and neither got the model number out of the header. See, http://vapenow.com/index.php/HerbalAire+Vaporizer-p-84/

    I tried clearing my cache and even restarting my browser. Any idea what I am doing wrong?

    Thanks for your help,

    Nate

  5. #5
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Re: Meta Tags Showing Product Model in Title

    Figured out it's because I'm using custom meta tags... Thanks for the help!

  6. #6
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Re: Meta Tags Showing Product Model in Title

    Which leads to my next question:

    If I have defined custom meta tags, is there anyway I can change all products meta tags settings to not include the model number at once? An SQL command maybe?

    Thanks,

    Nate

 

 

Similar Threads

  1. Replies: 0
    Last Post: 28 Oct 2013, 11:22 PM
  2. v151 Meta Tags Title not showing up and Keywords incorrect
    By tyankee in forum Basic Configuration
    Replies: 2
    Last Post: 31 Jan 2013, 06:06 AM
  3. Meta Tags - Include Product Model in Title - Question
    By Rimo in forum Basic Configuration
    Replies: 0
    Last Post: 21 Mar 2011, 09:57 PM

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