matching total order amount to item amount