osCmax v2.5 User Manual
Results 1 to 2 of 2

Custom Meta Tags for Individual Product Categories

This is a discussion on Custom Meta Tags for Individual Product Categories within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; We have an eCommerce website at TYES.BY.TARA - Flirtatiously Feminine Jewelry, Accessories & Intimates running osCMax v 2.0. We have ...

      
  1. #1
    Lurker
    Join Date
    May 2011
    Posts
    1
    Rep Power
    0


    Default Custom Meta Tags for Individual Product Categories

    We have an eCommerce website at TYES.BY.TARA - Flirtatiously Feminine Jewelry, Accessories & Intimates running osCMax v 2.0. We have 12 product categories, and would like to customize the HTML <title>, meta title, meta keywords, and meta description for each category on a case by case basis.

    We found this thread: http://wiki.oscdox.com/set_up_meta_tags and tried following the instructions for "Setting up Custom Text for separate pages".

    We're unable to get the custom meta tags to appear, and believe we have the wrong CASE statement. We are using the following code to try and customize the meta tags on the Ankletyes category:

    case CONTENT_INDEX_PRODUCT_ANKLETYES:
    define('META_TAG_TITLE', 'Custom Title Here' HEADING_TITLE . PRIMARY_SECTION . TITLE . $web_site_tagline);
    define('META_TAG_DESCRIPTION', 'Custom Meta Description Here' . TITLE . PRIMARY_SECTION . NAVBAR_TITLE_1 . SECONDARY_SECTION . WEB_SITE_KEYWORDS);
    define('META_TAG_KEYWORDS', 'Custom Keywords Here' . NAVBAR_TITLE_1);
    break;

    Do we have the wrong case statement? We've tried PRODUCT_CATEGORY_ANKLETYES, CONTENT_PRODUCTS_ANKLETYES, and probably a dozen other variations.

    Anyone have an idea?

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Custom Meta Tags for Individual Product Categories

    The case CONTENT_ bit is called from the bottom of the relevant file in catalog/ for the page you are viewing - I have no idea how you are calling a content page based on a category. It is in the bts statement near the bottom. Regards,
    pgmarshall
    _______________________________

Similar Threads

  1. Custom META Tags per Item
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-10-2010, 09:12 PM
  2. Custom META Tags per Item
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-14-2008, 12:01 AM
  3. Custom META Tags per Item
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-11-2008, 07:10 AM
  4. Easy Meta Tags - CUSTOM Product Tags for STS v4
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-26-2007, 04:14 PM
  5. Meta Tags On The Fly
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-15-2007, 09:01 AM

Tags for this Thread

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
  •