[`Last order`]
{capture "_last_order_options"}
{/capture}
{sprintf('
[`Over %s ago`]', $smarty.capture._last_order_options)}
{select n='app.last_order_datetime.op'
o=[['id' => '<=', 'name' => _w('or earlier')],
['id' => '>=', 'name' => _w('or later')]]
c="non-wa-contact-field"
d=$hash.app.last_order_datetime.op|default:'' with_empty=false}
{if $payment_methods}
[`Payment`]
{select n='app.payment_method' o=$payment_methods d=$hash.app.payment_method.val|default:'' c="non-wa-contact-field"}
{/if}
{if $shipping_methods}
[`Shipping`]
{select n='app.shipment_method' o=$shipping_methods d=$hash.app.shipment_method.val|default:'' c="non-wa-contact-field"}
{/if}
{if $coupons}
[`Applied discount coupon`]
{select n="app.coupon" o=$coupons d=$hash.app.coupon.val|default:'' c="non-wa-contact-field"}
{/if}