debug for add to cart