<?xml version="1.0" encoding="utf-8"?>
<form>
    <fieldset name="general">
        <field name="ecomm_cart_items_count_start" type="nr_inline"
            class="tf-inline-fields"
            label="NR_CART_CONTAINS_X_PRODUCTS"
        />
        <field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
        <fields name="params">
            <field name="operator" type="comparator" hiddenLabel="true">
                <option value="equal">NR_EQUAL_TO</option>
                <option value="not_equal">NR_NOT_EQUAL_TO</option>
                <option value="less_than">NR_FEWER_THAN</option>
                <option value="less_than_or_equal_to">NR_FEWER_THAN_OR_EQUAL_TO</option>
                <option value="greater_than">NR_GREATER_THAN</option>
                <option value="greater_than_or_equal_to">NR_GREATER_THAN_OR_EQUAL_TO</option>
                <option value="range">NR_BETWEEN</option>
            </field>
        </fields>
        <field name="value" type="number"
            hiddenLabel="true"
            hint="2"
        />
        <field name="value" type="number"
            hiddenLabel="true"
            class="input-small"
            hint="1"
            min="1"
        />
        <field name="range_note" type="note"
            class="tf-note-and"
            description="NR_AND_LC"
            showon="params.operator:range"
        />
        <fields name="params">
            <field name="value2" type="number"
                hiddenLabel="true"
                class="input-small"
                hint="1"
                min="1"
                showon="operator:range"
            />
        </fields>
        <field name="ecomm_cart_items_count_end" type="nr_inline" end="1" />
    </fieldset>
</form>