{if $order->paid} {$subject = "Заказ №`$order->id` оплачен" scope=parent} {else} {$subject = "Новый заказ №`$order->id`" scope=parent} {/if}
| Статус | {if $order->status == 0} ждет обработки {elseif $order->status == 1} в обработке {elseif $order->status == 2} выполнен {/if} |
| Оплата | {if $order->paid == 1} оплачен {else} не оплачен {/if} |
| Имя, фамилия | {$order->name|escape} {$order->name2|escape} {if $user}(зарегистрированный пользователь){/if} |
| {$order->email|escape} | |
| Телефон | {$order->phone|escape} |
| Страна, Регион, Город, адрес доставки | {$order->country|escape}, {$order->region|escape}, {$order->city|escape}, {$order->address|escape}, {$order->index|escape} |
| Комментарий | {$order->comment|escape|nl2br} |
| Дата | {$order->date|date} {$order->date|time} |
|
{$image = $purchase->product->images[0]}
|
{$purchase->product_name}
{$purchase->variant_name}
{foreach from=$purchase->options item=opt key=ok}
{assign var=f value=$features[$ok]}
{$opt} {/foreach} |
{$purchase->amount} {$settings->units} × {$purchase->price|convert:$main_currency->id} {$main_currency->sign} |
| Скидка | {$order->discount} % | |
| Купон {$order->coupon_code} | −{$order->coupon_discount} {$currency->sign} | |
| {$delivery->name} | {$order->delivery_price|convert:$main_currency->id} {$main_currency->sign} | |
| Итого | {$order->total_price|convert:$main_currency->id} {$main_currency->sign} |