take into account quantity of each order item