Fixing calculations on the cart page