Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default meta tags for specials page, new products page, and all products

    Hello,
    How do I define the meta tags and title for the Specials page, New Products page, and All Products page? Thanks.

  2. #2
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default Re: meta tags for specials page, new products page, and all products

    Anyone? This has to be pretty easy but I just can't find it.

  3. #3
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: meta tags for specials page, new products page, and all products

    You can change the title by editing the language file for each of those pages.
    You can't change the keyword/description metatags for those pages without writing custom code.

    In v1.3.8 you can set custom page-specific tags using the meta_tags.php language file.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #4
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: meta tags for specials page, new products page, and all products

    ok where abouts would the custom code go?

    becuase i need to place new meta tags on my 'new releases page'


    Andy.

  5. #5
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: meta tags for specials page, new products page, and all products

    ok i've established that this is where im supposed to place my custom meta tag data

    /languages/english/MY TEMPLATE/meta_tags.php

    PHP Code:
      define('META_TAG_DESCRIPTION_NEW_PRODUCTS','BLAH BLAH');
      
    define('META_TAG_KEYWORDS_PAGE_NEW_PRODUCTS','BLAH ');
      
    define('META_TAG_TITLE_PAGE_NEW_PRODUCTS''BLAH '); 

    however it doesnt seem to port to my new releases page, so is the standard zen cart 'new products page' defined as somthing else i've also tried calling it:

    PHP Code:
    PRODUCTS_NEW 
    but this didnt work either so any ideas people?

    Andy.

  6. #6
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: meta tags for specials page, new products page, and all products

    You've got the format wrong. It should be based on the &main_page=NAME_OF_PAGE
    like this:
    Code:
       define('META_TAG_DESCRIPTION_PRODUCTS_NEW','BLAH BLAH');
      define('META_TAG_KEYWORDS_PRODUCTS_NEW','BLAH ');
      define('META_TAG_TITLE_PRODUCTS_NEW', 'BLAH ');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  7. #7
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: meta tags for specials page, new products page, and all products

    yeah i did try that version to but it still didnt work.


    Andy.

  8. #8
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: meta tags for specials page, new products page, and all products

    Well, I just put it on a fresh v1.3.8 site here and it worked fine. Then I copy-and-pasted it to my post above.
    There are two differences from what you had originally posted:
    a) PRODUCTS_NEW instead of NEW_PRODUCTS
    b) removed extra PAGE_ letters from the defines
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  9. #9
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: meta tags for specials page, new products page, and all products

    ok so well i've tried all those various combinations before i posted, and retried your suggestion and it still comes up with the 'default new products' page meta.

    so are there any random other tweeks that i need to make to another page in order for this meta to fully reference the problem page?

  10. #10
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: meta tags for specials page, new products page, and all products

    Well ... like I said, it works fine for me on a clean new v1.3.8 install using english language.

    So ... either you're using something older than 1.3.8, or you're using something other than what I posted, or you've got some code customizations you've done which are breaking the normal operation.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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. Setting up products meta tags
    By ericny in forum Basic Configuration
    Replies: 5
    Last Post: 25 Nov 2009, 05:36 PM
  2. Meta Tags on products
    By jeking in forum Basic Configuration
    Replies: 3
    Last Post: 14 Sep 2008, 10:39 PM
  3. Custom meta tags for category and products
    By camay123 in forum General Questions
    Replies: 11
    Last Post: 28 Nov 2007, 02:50 AM
  4. Meta Tags for products
    By Reels in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 Nov 2006, 12:57 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
  •