[-] FO : #PSCFV-3267 - Summary ajax return do not contain the correct price without discount
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16495 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -308,7 +308,15 @@ class CartControllerCore extends FrontController
|
||||
// Display reduced price (or not) without quantity discount
|
||||
if (Tools::getIsset('getproductprice'))
|
||||
foreach ($result['summary']['products'] as $key => &$product)
|
||||
$product['price_without_quantity_discount'] = Product::getPriceStatic($product['id_product'], !Product::getTaxCalculationMethod(), $product['id_product_attribute']);
|
||||
$product['price_without_quantity_discount'] = Product::getPriceStatic(
|
||||
$product['id_product'],
|
||||
!Product::getTaxCalculationMethod(),
|
||||
$product['id_product_attribute'],
|
||||
6,
|
||||
null,
|
||||
false,
|
||||
false
|
||||
);
|
||||
die(Tools::jsonEncode($result));
|
||||
}
|
||||
// @todo create a hook
|
||||
|
||||
Reference in New Issue
Block a user