// Stock Available : Improve BackOffice interface + Update all SQL requests relative to StockAvailable + code refactoring on Product Class

This commit is contained in:
dSevere
2011-12-01 19:09:27 +00:00
parent d2d97cd5c6
commit 4d8fcb347c
13 changed files with 1241 additions and 619 deletions
+7 -1
View File
@@ -43,7 +43,13 @@ class NewProductsControllerCore extends FrontController
{
$this->productSort();
$nbProducts = (int)Product::getNewProducts($this->context->language->id, (isset($this->p) ? (int)($this->p) - 1 : null), (isset($this->n) ? (int)($this->n) : null), true);
$nbProducts = (int)Product::getNewProducts(
$this->context->language->id,
(isset($this->p) ? (int)($this->p) - 1 : null),
(isset($this->n) ? (int)($this->n) : null),
true
);
$this->pagination($nbProducts);
$this->context->smarty->assign(array(