{* Шаблон оформления заказа - ввод коментария - последний шаг *} {include file="header.tpl.html" header=$smarty.const.STRING_ORDERING}

{$smarty.const.STRING_ORDER_CONFIRMATION}

{if $order_success}

{if $smarty.const.CONF_ACTIVE_ORDER eq 1} {$smarty.const.STRING_ORDER_PLACED_ACTIVATE}{if $smarty.const.CONF_DISP_ORDERNUM eq 1} {$smarty.const.STRING_ORDER_NUME}: {$orderidd}{/if} {else} {$smarty.const.STRING_ORDER_PLACED}{if $smarty.const.CONF_DISP_ORDERNUM eq 1} {$smarty.const.STRING_ORDER_NUME}: {$orderidd}{/if} {/if}

{if $after_processing_html}

{$after_processing_html}

{/if}

{else} {if $orderSum eq NULL}

{$smarty.const.ERROR_CANT_FIND_REQUIRED_PAGE}

{else} {if $orderSum.orderContentCartProductsCount eq 0}

{$smarty.const.CART_EMPTY}

{else} {if $payment_error}

{$smarty.const.ADMIN_PAYMENT_ERROR}{if $payment_error ne 1}: {$payment_error}{/if}

{/if}

{$smarty.const.TABLE_PRODUCT_NAME} | {$smarty.const.TABLE_PRODUCT_QUANTITY} | {$smarty.const.TABLE_PRODUCT_COST_WITHOUT_TAX}
{section name=i loop=$orderSum.sumOrderContent}
{$orderSum.sumOrderContent[i].name} | {$orderSum.sumOrderContent[i].quantity} | {$orderSum.sumOrderContent[i].cost}
{/section}
{$smarty.const.STRING_PRED_TOTAL}: | {$orderSum.pred_total}
{if $orderSum.discount_percent>0}
{$smarty.const.ADMIN_DISCOUNT} {$orderSum.discount_percent}: | {$orderSum.discount_show}
{/if}
{$smarty.const.STRING_SHIPPING_TYPE_PAY}: | {$orderSum.shipping_cost}
{$smarty.const.TABLE_TOTAL}: | {$orderSum.total}

{if $orderSum.shipping_name ne "-"}
{$smarty.const.STRING_SHIPPING_TYPE_MAKE}: {$orderSum.shipping_name}
{/if} {if $orderSum.payment_name ne "-"}
{$smarty.const.STRING_PAYMENT_TYPE_MAKE}: {$orderSum.payment_name}
{/if}
{$smarty.const.STRING_TARGET_SHIPPING_ADDRESS}: {$orderSum.shipping_address|replace:"<":"<"|replace:"<br>":", "}

{$orderSum.payment_form_html} {$smarty.const.STRING_ORDER_COMMENT}:

{$smarty.const.STRING_FORMALIZE_ORDER}

{/if} {/if} {/if}