Fix logic for adding items to cart through orders.