// Context part 10
This commit is contained in:
@@ -49,7 +49,7 @@ class PricesDropControllerCore extends FrontController
|
||||
$this->pagination($nbProducts);
|
||||
|
||||
$this->smarty->assign(array(
|
||||
'products' => Product::getPricesDrop((int)self::$cookie->id_lang, (int)$this->p - 1, (int)$this->n, false, $this->orderBy, $this->orderWay, false, false, (int)$this->id_current_shop),
|
||||
'products' => Product::getPricesDrop((int)self::$cookie->id_lang, (int)$this->p - 1, (int)$this->n, false, $this->orderBy, $this->orderWay),
|
||||
'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'),
|
||||
'nbProducts' => $nbProducts,
|
||||
'homeSize' => Image::getSize('home')
|
||||
|
||||
@@ -44,7 +44,7 @@ class SitemapControllerCore extends FrontController
|
||||
public function process()
|
||||
{
|
||||
parent::process();
|
||||
$this->smarty->assign('categoriesTree', Category::getRootCategory(NULL, $this->id_current_shop)->recurseLiteCategTree(0));
|
||||
$this->smarty->assign('categoriesTree', Category::getRootCategory()->recurseLiteCategTree(0));
|
||||
$this->smarty->assign('categoriescmsTree', CMSCategory::getRecurseCategory(Context::getContext()->language->id, 1, 1, 1, $this->id_current_shop));
|
||||
$this->smarty->assign('voucherAllowed', (int)Configuration::get('PS_VOUCHERS'));
|
||||
$blockmanufacturer = Module::getInstanceByName('blockmanufacturer');
|
||||
|
||||
Reference in New Issue
Block a user