[-] FO : fixed bug #PSCFV-5293 - product link rewrite bug with category keyword
This commit is contained in:
@@ -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