Hi
When adding a product that is already in the cart, how does zencart know when to create a new item in the cart or just increase the quantity?
For example I have an apple in the cart already then I want another apple but I want a green one (different attribute) instead?
So when adding the new apple to the cart instead of increasing the quantity of the first apple to 2, it creates a new cart item so i have 1 green apple and the original apple, so now I have 2 cart items?
Hope that makes sense the reason I ask is because I'm building a custom cart and whenver I use the function
$_SESSION['cart']->actionAddProduct
and add 2 products with the same product_id but different attributes it just creates 1 and increases the quantity.
Thanks heaps!



