{**
* XS2: Результат оформления заказа
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @version 1.XX
*}
{* Результат оформления заказа *}
{strip}
{if $errors}
{foreach from=$errors item="error"}
<p>{$error}</p>
{/foreach}
<p><a href="{xs2Href mod=$_THE.QUE.MOD obj="order" met="basket"}">Корзина</a></p>
{else}
{if $orderId}
{xs2GetNode var="order" NodId=$orderId}
<p>Заказ номер {$orderId} на сумму {$order.Total} оформлен на имя {$order.NName}:</p>
{xs2GetChildren var="items" ParId=$orderId}
<ul>
{foreach from=$items item="item"}
<li>{$item.NName} ({$item.Price}×{$item.Count}={$item.Amount})</li>
{/foreach}
</ul>
<p>
{if $order.Phone}
Телефон: {$order.Phone}
<br>
{/if}
{if $order.Email}
E-mail: {$order.Email}
<br>
{/if}
{if $order.Address}
Адрес: {$order.Address}
<br>
{/if}
</p>
{/if}
{/if}
{/strip}
<p><a href="{xs2Href mod=$_THE.QUE.MOD obj="categories" met="show"}">Каталог</a></p>
{* /Результат оформления заказа *}
|
|