clayton29657 Posted July 19, 2012 Share Posted July 19, 2012 (edited) Hello everyone, here is an issue that I really must have fixed. Under the manufacturers section the meta title does not override the manufacturer name like it should as a product meta title works Right now it's this: {meta title} {manufacturer}- site name Should Be: {meta title} {empty} - site name Can you tell me has this been fixed in the updated versions. I am currently using 1.4.5.1 and will be upgrading shop 1.4.8 before my webdesigner starts to build me a new theme. I saw on the bug issue site that the 1.5 version had the same issue and was fixed. Please help as I posted this issue a long time ago with no replies at all.. Edited July 19, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
kikis Posted September 1, 2012 Share Posted September 1, 2012 I have the same problem.... Anyone? Link to comment Share on other sites More sharing options...
kikis Posted September 1, 2012 Share Posted September 1, 2012 /* Manufacturers specifics meta tags */ elseif ($id_manufacturer = self::getValue('id_manufacturer')) { $page_number = (int)self::getValue('p'); $row = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow(' SELECT `name`, `meta_title`, `meta_description`, `meta_keywords` FROM `'._DB_PREFIX_.'manufacturer_lang` ml LEFT JOIN `'._DB_PREFIX_.'manufacturer` m ON (ml.`id_manufacturer` = m.`id_manufacturer`) WHERE ml.id_lang = '.(int)($id_lang).' AND ml.id_manufacturer = '.(int)($id_manufacturer)); if ($row) { if (empty($row['meta_description'])) $row['meta_description'] = strip_tags($row['meta_description']); $row['meta_title'] .= (!empty($page_number) ? ' ('.$page_number.')' : ''); $row['meta_title'] .= ' - '.Configuration::get('PS_SHOP_NAME'); return self::completeMetaTags($row, $row['meta_title']); } } Replace with this at classes/tools.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now