Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Okari

Archived
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Real Name
    Tin Lay

Okari's Achievements

  1. Hi Ken, I did try the second one but it doesn't diplay my preferred title that i enter into the Product Meta Tags section through OsCommerce Admin. It instead displays the Product name and category like this - "product name goes here - Category name goes here"
  2. Hi Ken, Many thanks for the reply but i figured out problem 1. For the homepage, I had already assigned my keywords to the $kws_home_default variable. However there is a . before the = I removed this and everything worked as i wanted it to. However, I still cant figure out the product page title tag. The code you refered to doesn't exist on my product_info.php. Here is what it says - <title><?php echo $header_tags[title_tag]; ?></title> <meta name="description" content="<?php echo $header_tags[desc_tag]; ?>"> <meta name="keywords" content="<?php echo $header_tags[keywords_tag]; ?>">
  3. Great mod and worked first time after installing. However, there are two slight problems. 1. The homepage keywords tag displays my category names before displaying my default keywords. Eg. "category 1, category 2, category 3, category 4, default keyword 1, default keyword 2, default keyword 3...." I would like to know if it is possible to not display the categories. 2. The title tags on the product pages displays the category before my own title Eg. "Category - My Own Title" Again, please let me know how to amend so that it only displays my own title. This is a great contribution though and will be using on all future sites i work on! Excellent work!! Oh and i've used V.5.0 - <title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title> <meta name="description" content="<?php echo (strlen(strip_tags($desc_tag)) < 5)? $desc_home_default : strip_tags($desc_tag); ?>"> <meta name="keywords" content="<?php echo (strlen(strip_tags($keywords_tag)) < 5) ? $kws_home_default : strip_tags($keywords_tag); ?>">
×
×
  • Create New...