Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default removing product model from title bar

    Hi,
    I am trying to remove the product model, which appears for all products within square brackets, in the title bar.

    in the product metatag section I have deselected "model", but this does not make a difference.

    I have also gone to Catalog -> product types -> edit layout and deselected model for the metatags title, but this also doesn't work

    example can be seen here
    http://clematischoice.co.uk/shop/ind...&products_id=8

    Any help would be much appreciated
    thanks
    Sam

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: removing product model from title bar

    admin panel/ catalog/ products & catalog/
    1. Work your self down to an actual product you have listed
    2. On the right hand side under Action notice the black circle
    3. Click the (black circle) biohazard sign beside each product you will see this

    Mark What the Product's Meta Tag Title Should Include:
    Product Name:
    Yes No Title:
    Yes No Model:
    Yes No Price:
    Yes No Title/Tagline:
    Yes No

  3. #3
    Join Date
    Jan 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: removing product model from title bar

    i'm having the same issue, wanting to remove the product model from title bar...

    when i go to the meta tags for the product, Mark What the Product's Meta Tag Title Should Include - is set to 'no' for product model

    i have also set the product type layout options Show Metatags Title Default - Product Model to 'no'

    but it still shows up!

    any ideas ?!?!
    Last edited by gorie; 30 Mar 2008 at 04:34 AM.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: removing product model from title bar

    If you don't have actual keyword and title content for a given product, the other settings are ignored.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: removing product model from title bar

    Quote Originally Posted by DrByte View Post
    If you don't have actual keyword and title content for a given product, the other settings are ignored.
    oooooh, ok i see. thanks :)

  6. #6
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: removing product model from title bar

    Thanks for the replies everyone.

    Just to clarify, the problem was that my product metatags were not defined.
    After adding metatag title, description, and keywords, the new settings work!

    Sam

  7. #7
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: removing product model from title bar

    The site I'm working on has a lot of products. Without modifying each individual product is there a way to set a global option in which the model is removed from the title? Thanks.

  8. #8
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    109
    Plugin Contributions
    0

    Default Re: removing product model from title bar

    Quote Originally Posted by madfastride View Post
    The site I'm working on has a lot of products. Without modifying each individual product is there a way to set a global option in which the model is removed from the title? Thanks.
    I'm in the same boat.

    Would also like to know if there is a quick way to add a tagline that applies to category page titles only.

  9. #9
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    109
    Plugin Contributions
    0

    Default Re: removing product model from title bar

    OK I've found a solution to the OP. It does remove the product model from page title, but I'm no php coder, so this solution may have side effects that I'm not aware of.

    In includes/module/metatags.php, line 279, there is this piece of code:
    Code:
    $meta_products_name = $product_info_metatags->fields['products_name'] . ' [' . $product_info_metatags->fields['products_model'] . ']';
    I deleted the later part of the code, so that it becomes:
    Code:
    $meta_products_name = $product_info_metatags->fields['products_name'] ;

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: removing product model from title bar

    Quote Originally Posted by cochlear View Post
    OK I've found a solution to the OP. It does remove the product model from page title, but I'm no php coder, so this solution may have side effects that I'm not aware of.

    In includes/module/metatags.php, line 279, there is this piece of code:
    Code:
    $meta_products_name = $product_info_metatags->fields['products_name'] . ' [' . $product_info_metatags->fields['products_model'] . ']';
    I deleted the later part of the code, so that it becomes:
    Code:
    $meta_products_name = $product_info_metatags->fields['products_name'] ;
    Yes, that works globally, but since you're hacking out parts of the code, it has the side effect of removing all control over that feature via the admin. If you don't care about that, that's fine.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Removing the "Product Model" from the META Title in the product info view?
    By joecooper in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 May 2015, 07:54 PM
  2. Product Info page: can I move model value under 'model' title?
    By scott_ease in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Aug 2012, 04:24 PM
  3. Removing Zencart info from page title bar
    By terrykiwi in forum Customization from the Admin
    Replies: 1
    Last Post: 29 Apr 2008, 03:36 AM

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