fixing a bug with in-store total cost and item quantity/price