{* *}{strip} {* *} {if !empty($order) && (empty($order->hidden) || $order->user_id|default:FALSE === $user->user_id|default:0 || $smarty.session.admin|default:'' == 'admin')} {* *}

Заказ

{* *} {echoVar from='order->status' assign=status}

{**} Ваш заказ №{echoVar from='order->order_id'} {if $status == 0} принят {elseif $status == 1} в обработке {elseif $status == 2} выполнен {elseif $status == 3} аннулирован {else} статус неизвестный{/if} {if !empty($order->payment_status)}, оплачен{/if}

{* *} {* *} {foreach $order->products as $item} {* *} {* *} {* *} {* *} {/foreach} {* *} {if !empty($order->discount_sum)} {/if} {* *} {if !empty($order->delivery_price)} {/if} {* *}
{name} {**} {inputValue from='item->variant_name'} {**} {if !empty($order->payment_status) && !empty($item->download)} скачать файл {/if} {$amount = ($item->quantity < 0) ? $item->quantity * -1 : $item->quantity} {$amount} шт. {$helper->priceForScreen($item->price * $amount)} {sign}
Скидка {$helper->priceForScreen($order->discount_sum)} {sign}
{inputValue from='order->delivery_method'} {$helper->priceForScreen($order->delivery_price)} {sign}
Итого {$helper->priceForScreen($order->total_amount)} {sign}
{* *}

Детали заказа

{if !empty($order->compound_name)} {/if} {if !empty($order->email)} {/if} {if !empty($order->phone)} {/if} {if !empty($order->compound_address)} {/if} {if !empty($order->comment)} {/if}
Дата {echoVar from='order->date_date'} в {echoVar from='order->date_time'}
Имя {inputValue from='order->compound_name'}
Email {inputValue from='order->email'}
Телефон {inputValue from='order->phone'}
Адрес доставки {inputValue from='order->compound_address'}
Комментарий {$order->comment|escape|nl2br}
{* *} {if empty($order->payment_status)} {if !empty($PaymentMethods)} {foreach $PaymentMethods as $item}

Оплата → {name} → {$helper->priceForScreen($item->amount, FALSE)} {$item->currency_sign}

{* *} {if !empty($item->description)}
{$item->description}
{/if} {* *} {if !empty($item->payment_button)} {$item->payment_button} {/if}
{/foreach} {/if} {/if}
{* *} {else} {include 'common/no-items.htm' tab = 'Заказ' title = 'Страница не найдена!' message = 'Нет такой страницы или закрыта для посторонних!' extra = ''} {/if} {* *}
{* *} {$title = 'Заказ' scope=global} {$description = '' scope=global} {$keywords = '' scope=global} {$meta = '' scope=global} {/strip}