computing shopping price