Addapted price processing to the new way of storing how many books we want to purchase