[*] BO: Improve customization management on BackOffice orders #PSCFV-4062

This commit is contained in:
rGaillard
2012-10-15 13:38:19 +00:00
parent df2a97b5f8
commit c00086bcf5
3 changed files with 37 additions and 7 deletions
+1 -1
View File
@@ -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 */