self::SELLKIT_NUMBER_CONDITION_VALUE, 'greater-than' => self::SELLKIT_NUMBER_CONDITION_VALUE, 'threshold-range' => 'threshold-range-field', ]; } /** * Gets value. * * @since 1.1.0 */ public function get_value() { if ( ! sellkit()->has_valid_dependencies() ) { return ''; } return wc()->cart->get_subtotal(); } /** * It is pro feature or not. * * @since 1.1.0 */ public function is_pro() { return true; } }