Extracted methods for quantity and option_value_ids