// Context part 16 (shops)
This commit is contained in:
1 parent
02a738dce1
commit
73d6f4267b
27 files changed
+394
-351
No files matched your search
@@ -86,7 +86,7 @@ class BlockSpecials extends Module
|
||||
if (Configuration::get('PS_CATALOG_MODE'))
|
||||
return ;
|
||||
|
||||
if (!$special = Product::getRandomSpecial((int)($params['cookie']->id_lang), false, false, $this->context->shop->getID()) AND !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
|
||||
if (!$special = Product::getRandomSpecial((int)$params['cookie']->id_lang) AND !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
|
||||
return;
|
||||
$this->context->smarty->assign(array(
|
||||
'special' => $special,
|
||||
|
||||
Reference in new issue
Block a user