Quote Originally Posted by Mauari View Post
what happen when I have a product with several attributes... ej. Christmas balls with several attributes...
A customer want 5 one box of each color.. blue, red, green, pink and gold..
look like if one attribute color is missing (deleted) after the products added to the cart ALL 5 Box is deleted, not only the color missing..
By the way... if customer want 5 box one o each color, and one color is sold out you dont sell nothing... and would sell 4.

to solve this just change in includes/classes the file shopping_cart.php
around the line 1270
$_SESSION['cart_errors'] .= ERROR_PRODUCT_ATTRIBUTES . $chk_products_link . ERROR_PRODUCT_STATUS_SHOPPING_CART_ATTRIBUTES . '<br />';
$this->remove($attributes_id); //<-------------- Change $products_Id for $attributes_id
break;
To me, the above "problem" is not clear. What is the setup of product and attribute, how is an attribute alone deleted, is a 5 box 5 different boxes, or is it a box that has 5 items in it? Basically trying to understand what problem is solved by not taking the default action of removing the shopping cart attributes at that line of the file.