buteofalcone Posted May 16, 2016 Share Posted May 16, 2016 Hi, For some reason the blocktags module duplicates the product tags. The tags theirselves are unique, when I check in BO Catalogue > Tags Please Help! Update: And if anybody knows – how can I show the levels of tags in 1.6 ? (size of font) Link to comment Share on other sites More sharing options...
buteofalcone Posted May 18, 2016 Author Share Posted May 18, 2016 Nobody stumbled upon such problem? Link to comment Share on other sites More sharing options...
cla.gamb Posted August 25, 2016 Share Posted August 25, 2016 (edited) I have the same problem... did you find any solution? Update: it is a specific browser problem... it happens only in Firefox. But it would be nice to fix it anyway! Any suggestion? Edited August 25, 2016 by cla.gamb (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2016 Share Posted August 25, 2016 any chance to see it live directly on your website? Link to comment Share on other sites More sharing options...
buteofalcone Posted August 25, 2016 Author Share Posted August 25, 2016 Yes sure, thank you for attention! http://dollaressay.com/111-business Link to comment Share on other sites More sharing options...
cla.gamb Posted August 25, 2016 Share Posted August 25, 2016 My site is not accessible yet. But it seems not to be the same problem of Buteofalcone. His tags are duplicated in all browsers... Link to comment Share on other sites More sharing options...
bombis Posted September 13, 2019 Share Posted September 13, 2019 Happened to me too, solved changing code from classes/tag.php. Go to function getMainTags($id_lang, $nb = 10), and change both SELECT queries adding DISTINCT. if (Group::isFeatureActive()) { $groups = FrontController::getCurrentCustomerGroups(); return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT DISTINCT t.name, counter AS times FROM `'._DB_PREFIX_.'tag_count` pt LEFT JOIN `'._DB_PREFIX_.'tag` t ON (t.id_tag = pt.id_tag) WHERE pt.`id_group` '.(count($groups) ? 'IN ('.implode(',', $groups).')' : '= 1').' AND pt.`id_lang` = '.(int)$id_lang.' AND pt.`id_shop` = '.(int)$context->shop->id.' ORDER BY times DESC LIMIT '.(int)$nb); } else { return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT DISTINCT t.name, counter AS times FROM `'._DB_PREFIX_.'tag_count` pt LEFT JOIN `'._DB_PREFIX_.'tag` t ON (t.id_tag = pt.id_tag) WHERE pt.id_group = 0 AND pt.`id_lang` = '.(int)$id_lang.' AND pt.`id_shop` = '.(int)$context->shop->id.' ORDER BY times DESC LIMIT '.(int)$nb); } 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