52 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <form>
 | |
|     <fieldset name="general">
 | |
|         <field name="ecomm_amount_in_cart_start" type="nr_inline"
 | |
|             class="tf-inline-fields"
 | |
|             label="NR_CART_VALUE"
 | |
|         />
 | |
|         <fields name="params">
 | |
|             <field name="total" type="list"
 | |
|                 hiddenLabel="true"
 | |
|                 default="total">
 | |
|                 <option value="total">NR_TOTAL</option>
 | |
|                 <option value="subtotal">NR_SUBTOTAL</option>
 | |
|             </field>
 | |
|             <field name="is_note" type="note" class="tf-center-note" label="NR_IS" />
 | |
|             <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"
 | |
|             min="0"
 | |
|         />
 | |
|         <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"
 | |
|                 hint="2"
 | |
|                 min="0"
 | |
|                 showon="operator:range"
 | |
|             />
 | |
|         </fields>
 | |
|         <field name="ecomm_amount_in_cart_end" type="nr_inline" end="1" />
 | |
|         <fields name="params">
 | |
|             <field name="exclude_shipping_cost" type="nrtoggle"
 | |
|                 label="NR_EXCLUDE_SHIPPING_COST"
 | |
|                 description="NR_EXCLUDE_SHIPPING_COST_DESC"
 | |
|             />
 | |
|         </fields>
 | |
|     </fieldset>
 | |
| </form> |