Fixing validation of items when added to the cart to conditionally change the validation rules based on if the user is logged in or not. Because none logged in users won't have a cart_id for their items.