Opencart tag search doesn't work correctly
check the tag descriptions on each product
are there any capital letters there?
this can be fixed in the database with a single query
UPDATE `YOUR-PREFIX_product_description` SET `tag`= LCASE (tag)
and you should also double-check that there are no Cyrillic О, Е and similar English letters that look very much like Russian ones, otherwise it won't find them by tag, because despite the visual similarity these characters have completely different encodings
on my site now diamond-with-question-mark symbols appear instead of Russian letters in the tag link (probably something is wrong with the encoding), please help fix it
in the controller /catalog/controller/product/product.php add the 'UTF-8' encoding
foreach ($tags as $tag) {
$this->data['tags'][] = array(
'tag' => trim($tag),
'href' => $this->url->link('product/search', 'filter_tag=' . mb_strtolower(trim($tag), 'UTF-8'))
);
}
Comments