Refactor item price handling.