[*] BO: Improve customization management on BackOffice orders #PSCFV-4062
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17861 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -1165,7 +1165,7 @@ class CartCore extends ObjectModel
|
||||
|
||||
// refresh cache of self::_products
|
||||
$this->_products = $this->getProducts(true);
|
||||
return ($customization_quantity == $product_total_quantity && $this->deleteProduct((int)$id_product, $id_product_attribute, $id_address_delivery));
|
||||
return ($this->deleteProduct((int)$id_product, $id_product_attribute, $id_address_delivery) && $customization_quantity == $product_total_quantity);
|
||||
}
|
||||
|
||||
/* Get customization quantity */
|
||||
|
||||
Reference in New Issue
Block a user