get_field_key( $key ); $options_based_on = apply_filters( 'flexible_shipping_method_rule_options_based_on', array( 'none' => __( 'None', 'flexible-shipping' ), 'value' => __( 'Price', 'flexible-shipping' ), 'weight' => __( 'Weight', 'flexible-shipping' ), )); $key = 'method_rules[xxx][based_on]'; $args = array( 'type' => 'select', 'options' => $options_based_on, 'return' => true, ); $value = 'none'; $field_based_on = woocommerce_form_field( $key, $args, $value ); $key = 'method_rules[xxx][min]'; $args = array( 'type' => 'text', 'return' => true, 'input_class' => array( 'wc_input_price' ), ); $value = ''; $field_min = woocommerce_form_field( $key, $args, wc_format_localized_price( $value ) ); $key = 'method_rules[xxx][max]'; $args = array( 'type' => 'text', 'return' => true, 'input_class' => array( 'wc_input_price' ), ); $value = ''; $field_max = woocommerce_form_field( $key, $args, wc_format_localized_price( $value ) ); $key = 'method_rules[xxx][cost_per_order]'; $args = array( 'type' => 'text', 'return' => true, 'input_class' => array( 'wc_input_price' ), ); $value = ''; $field_cost_per_order = woocommerce_form_field( $key, $args, wc_format_localized_price( $value ) ); $count_rules = 0; ?>
', '' ); ?>