LTO functions cleanup

replaced duplicated logic that checked if item was the LTO, and what its
discount is, in several functions with a call to a function to perform
the checks in order to keep the logic in one place when possible.