Use absolute quantity to compute price

issue3309
review986003