{* CSS *} {$wa->css()} {* JS *}
{$shipping_address}
{if !empty($shipping_custom_fields)}
{foreach $shipping_custom_fields as $f}
{$f.title}: {$f.value|escape}
{/foreach}
[`Preferred shipping time:`] {if $customer_delivery_date} {wa_date('date', $customer_delivery_date, waDateTime::getDefaultTimezone())|escape} {elseif $customer_delivery_date_str} {$customer_delivery_date_str|escape} {/if} {if $customer_delivery_time} {if $customer_delivery_date} {/if} {$customer_delivery_time.from_hours|escape}:{$customer_delivery_time.from_minutes|escape} - {$customer_delivery_time.to_hours|escape}:{$customer_delivery_time.to_minutes|escape} {/if}
{/if} {if !empty($courier)}
{if !empty($shipping_date)}
[`Shipping time`]: {wa_date('date', $shipping_date, waDateTime::getDefaultTimezone())|escape} {$shipping_time_start|escape} - {$shipping_time_end|escape}
{if !empty($order.state)}
{/if}
{/if}
{$tracking}{/if} {/if} {/if} {* PAYMENT *} {if !empty($params.payment_name)}
{$billing_address}
{/if} {/if}{$order.comment|escape}{/if} {* ORDER CONTENT *}
[`Qty`] | [`Total`] | ||
---|---|---|---|
{if $item.type != 'service'}
{if !empty($item.image_id)}
{$wa->shop->productImgHtml(['id' => $item.product_id, 'image_id' => $item.image_id, 'image_filename' => $item.image_filename, 'ext' => $item.ext], '48x48')}
{else}
![]() |
{if $item.type == 'service'}+ {/if}
{$item.name|escape}
{if isset($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_html($item.price, $order.currency)} × {$item.quantity} | {wa_currency_html($item.price * $item.quantity, $order.currency)} |
[`Subtotal`] |
{wa_currency_html($subtotal, $order.currency)} |
||
[`Order content is unknown`] | |||
[`Discount`] {if !empty($order.coupon)} {$order.coupon.code|escape} {/if} | − {wa_currency_html($order.discount, $order.currency)} | ||
[`Shipping`] | {wa_currency_html($order.shipping, $order.currency)} | ||
[`Tax`] | {wa_currency_html($order.tax, $order.currency)} | ||
[`Total`] | {wa_currency_html($order.total, $order.currency)} |