divers
This commit is contained in:
parent
c7048856c1
commit
198a12b628
@ -34,7 +34,7 @@ class BlockBestSellersOverride extends BlockBestSellers
|
||||
if (Configuration::get('PS_CATALOG_MODE'))
|
||||
return false;
|
||||
|
||||
if (!($result = ProductSale::getProductHome((int)$params['cookie']->id_lang, 0, (int)Configuration::get('PS_BLOCK_BESTSELLERS_TO_DISPLAY'))))
|
||||
if (!($result = ProductSale::getProductHome((int)$params['cookie']->id_lang, 0, 6)))
|
||||
return (Configuration::get('PS_BLOCK_BESTSELLERS_DISPLAY') ? array() : false);
|
||||
|
||||
$currency = new Currency($params['cookie']->id_currency);
|
||||
|
Loading…
Reference in New Issue
Block a user