[-] FO : fixed bug #PSCFV-5293 - product link rewrite bug with category keyword
This commit is contained in:
1 parent
d5fc20435d
commit
7b307c737a
1 file changed
+3
@@ -123,6 +123,9 @@ class LinkCore
|
|||||||
if ($dispatcher->hasKeyword('product_rule', $id_lang, 'tags'))
|
if ($dispatcher->hasKeyword('product_rule', $id_lang, 'tags'))
|
||||||
$params['tags'] = Tools::str2url($product->getTags($id_lang));
|
$params['tags'] = Tools::str2url($product->getTags($id_lang));
|
||||||
|
|
||||||
|
if ($dispatcher->hasKeyword('product_rule', $id_lang, 'category'))
|
||||||
|
$params['category'] = Tools::str2url($product->category);
|
||||||
|
|
||||||
if ($dispatcher->hasKeyword('product_rule', $id_lang, 'reference'))
|
if ($dispatcher->hasKeyword('product_rule', $id_lang, 'reference'))
|
||||||
$params['reference'] = Tools::str2url($product->reference);
|
$params['reference'] = Tools::str2url($product->reference);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user