{if $cart_prods_count gt 0} {include file="cart/cart_js.html"} {capture name=cart}

{$LABEL.lbl_cart_products}


{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_products content=$smarty.capture.cart id="order-cart"} {if $discounts_coupons_avail} {capture name=discount_coupon}

{include file="cart/discount_coupon.html"}

{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_discount_coupon content=$smarty.capture.discount_coupon} {/if} {include file="cart/user_data.html"} {capture name=ship_and_pay}

 

{if not $smarty.session.cart.comment}

{$LABEL.link_leave_order_comment}

{/if}
{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_making_order content=$smarty.capture.ship_and_pay id="order-sap"} {elseif $auto_pay_result} {capture name=payment}

{if $success} {$LABEL.lbl_order_accepted}

{$LABEL.lbl_auto_payment_processed} {if $payment_name}

{include file="payments/$payment_name/success.html"} {/if} {else} {$LABEL.lbl_cannot_accept_order} {if $payment_name}

{include file="payments/$payment_name/fail.html"} {/if} {/if}

{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_order_pay content=$smarty.capture.payment id="order-final"} {elseif $manual_pay_result} {capture name=payment}

{$LABEL.lbl_order_accepted}

{$LABEL.lbl_order_id}: {$order_id}

{if $payment.name eq 'sberbank'} {include file="payments/sberbank/sberbank.html"} {elseif $payment.name eq 'kupivkredit'} {include file="payments/kupivkredit/widget.html"} {else} {if $payment.lstep_email_only eq 'Y'} {$LABEL.lbl_laststep_text_sent_by_email} {else} {$payment.laststep} {/if} {if $payment.name eq 'russian_bill' and $order_info.customer_person_type eq 'A'} {include file="payments/russian_bill/russian_bill.html"} {/if} {/if}

{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_order_pay content=$smarty.capture.payment id="order-final"} {else} {capture name=cart}

{$LABEL.lbl_empty_cart}

{if $smarty.session.cart.order_id} {literal} {/literal}

{$LABEL.link_repeat_last_order}

{/if}

{$LABEL.link_go_shopping}

{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_cart content=$smarty.capture.cart} {/if}