Added conditional to derive price from markup total

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>