Guest Posted April 21, 2008 Share Posted April 21, 2008 Hi, I am using the following to set the category name as the title for category pages. <title><?php $category_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = " . (int)$current_category_id . " and language_id = " . (int)$languages_id); $category_name = tep_db_fetch_array($category_name_query); if ((int)$current_category_id <= 0) {echo'Site name';} else echo 'Site name - ' . $category_name['categories_name']; ?></title> I wish to use the product title on product pages as the page title. Does anyone know how to modify the above to use the product title and not the category. Thanks, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.