{* order confirmation *} {if $order_success}
{$smarty.const.STRING_ORDER_PLACED}
{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}

{$smarty.const.STRING_ORDERING}

{$smarty.const.STRING_ORDER_CONFIRMATION}

{if $payment_error}

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

{section name=i loop=$orderSum.sumOrderContent} {/section}
{$smarty.const.TABLE_PRODUCT_NAME} {$smarty.const.TABLE_PRODUCT_QUANTITY} {$smarty.const.STRING_TAX} {$smarty.const.TABLE_PRODUCT_COST_WITHOUT_TAX}
{$orderSum.sumOrderContent[i].name} {$orderSum.sumOrderContent[i].quantity} {$orderSum.sumOrderContent[i].tax}% {$orderSum.sumOrderContent[i].cost}
{if $orderSum.discount_percent>0} {/if}
{$smarty.const.ADMIN_DISCOUNT}: {$orderSum.discount_percent}
{$smarty.const.STRING_PRED_TOTAL}: {$orderSum.pred_total_disc}
{$smarty.const.STRING_TAX}: {$orderSum.totalTax}
{$smarty.const.STRING_SHIPPING_TYPE} ({$orderSum.shipping_name}): {$orderSum.shipping_cost}
{$smarty.const.TABLE_TOTAL} {$orderSum.total}
{if $orderSum.shipping_name ne "-"}

{$smarty.const.STRING_SHIPPING_TYPE}: {$orderSum.shipping_name|replace:"<":"<"}
{$smarty.const.STRING_TARGET_SHIPPING_ADDRESS}:
{$orderSum.shipping_address|replace:"<":"<"|replace:"<br>":"
"}

{/if} {if $orderSum.payment_name ne "-"}

{$smarty.const.STRING_PAYMENT_TYPE}: {$orderSum.payment_name|replace:"<":"<"}
{$smarty.const.STRING_BILLING_ADDRESS}:
{$orderSum.billing_address|replace:"<":"<"|replace:"<br>":"
"}

{/if}

{$orderSum.payment_form_html}

{$smarty.const.STRING_ORDER_COMMENT}:

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