fix bug in cart and product

fix bug in cart and product