You will need to decide if by item or by weight...

Most likely by weight and all items need to have a weight - your source should have weights

Trying to do both - how would the decision be made and what will you do if a by item product is ordered and a by weight item is ordered in a single order?