adjusting total amounts in cart and list