use on_hand method to get on_hand for variant while populating order so that :track_inventory_levels is taken into consideration. [Fixes #2379]

Fixes #2382