{if empty($order)}
[`Order created`]: {$order.create_datetime|wa_datetime:"humandatetime"}
{if !empty($order.params.referer)}[`Referrer`]: {$order.params.referer|truncate:42}
{/if}
{if !empty($order.params.storefront)}[`Storefront`]: {$order.params.storefront}
{/if}
{if !empty($order.params.keyword)}[`Keyword`]: {$order.params.keyword}
{/if}
{if !empty($order.params.ip)}[`IP`]: {$order.params.ip}
{/if}
{* @event backend_order.%plugin_id%.aux_info *}
{if !empty($backend_order)}{foreach $backend_order as $_}{if (!empty($_.aux_info))}{$_.aux_info}
{/if}{/foreach}{/if}
{$order.comment|escape}
{/if}
{if $shipping_address}
{/if}
{$shipping_address}
{if !empty($custom_fields)}
{foreach $custom_fields as $f}
{$f.title}: {$f.value}
{/foreach}
{$tracking}{/if} {/if} {if !empty($params.payment_name)}
{$billing_address}
{/if} {/if} {if !empty($order.coupon)}| [`Qty`] | [`Total`] | ||
|---|---|---|---|
{if $item.type != 'service'}
{if !empty($item.image_id)}
{$wa->shop->productImgHtml(['id' => $item.product_id, 'image_id' => $item.image_id, 'ext' => $item.ext], '48x48')}
{else}
{/if}
{/if}
|
{if $item.type == 'service'}+ {/if} {$item.name} {if !empty($item.sku_code)} {$item.sku_code|escape} {/if} {if !empty($item.stock)} @{$item.stock.name|escape} {/if} {if !empty($item.stock_icon)} {$item.stock_icon} {/if} | {wa_currency($item.price, $order.currency)} × {$item.quantity} | {wa_currency($item.price * $item.quantity, $order.currency)} |
[`Subtotal`] |
{wa_currency($subtotal, $order.currency)} |
||
| [`Discount`] | − {wa_currency($order.discount, $order.currency)} | ||
| [`Shipping`] | {wa_currency($order.shipping, $order.currency)} | ||
| [`Tax`] | {wa_currency($order.tax, $order.currency)} | ||
| [`Total`] | {wa_currency($order.total, $order.currency)} | ||
{foreach $bottom_buttons as $b} {$b} {/foreach}
{$row.text}
{/if} {else} {if $row.text} {$row.text}{/if} {/if}