fixed cartBuy calc