[-] FO: Fix: many fixes - domain for cookies with different url for ssl / add to cart button for minimal quantities with product attributes
This commit is contained in:
@@ -183,6 +183,13 @@ class CategoryControllerCore extends FrontController
|
||||
else
|
||||
// Pagination must be call after "getProducts"
|
||||
$this->pagination($this->nbProducts);
|
||||
|
||||
foreach ($this->cat_products as &$product)
|
||||
{
|
||||
if ($product['id_product_attribute'])
|
||||
$product['minimal_quantity'] = $product['product_attribute_minimal_quantity'];
|
||||
}
|
||||
|
||||
$this->context->smarty->assign('nb_products', $this->nbProducts);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user