refacotr shipping calculator to check for one line item with multiple quantities.