Behaviour of ProductCount() in cart.go should be unique
tlayh opened this issue · comments
Thomas Layh commented
Just wondering if the method ProductCount() has the correct behaviour. If there is the same product in two deliveries it will be counted twice. Shouldn't this function return the unique product count over all deliveries?
flamingo-commerce/cart/domain/cart/cart.go
Line 280 in 11a1fcd