Added base code for variable price check function