{__("text_order_placed_successfully")} {if $order_info} {if $order_info.child_ids} {__("order_details")} {else} {__("order_details")} {/if} {/if}

{if $order_info && $settings.Checkout.allow_create_account_after_order == "Y" && !$auth.user_id}

{__("create_account")}

{include file="buttons/button.tpl" but_name="dispatch[checkout.create_profile]" but_text=__("create")}

{hook name="checkout:payment_instruction"} {if $order_info.payment_method.instructions}

{__("payment_instructions")}

{$order_info.payment_method.instructions nofilter}
{/if} {/hook}
{else}
{hook name="checkout:payment_instruction"} {if $order_info.payment_method.instructions}

{__("payment_instructions")}


{$order_info.payment_method.instructions nofilter}
{/if} {/hook}
{/if} {* place any code you wish to display on this page right after the order has been placed *} {hook name="checkout:order_confirmation"} {/hook}
{hook name="checkout:complete_button"}
{if $order_info} {if $order_info.child_ids} {include file="buttons/button.tpl" but_meta="ty-btn__secondary" but_text=__("order_details") but_href="orders.search?period=A&order_id=`$order_info.child_ids`"} {else} {include file="buttons/button.tpl" but_text=__("order_details") but_meta="ty-btn__secondary" but_href="orders.details?order_id=`$order_info.order_id`"} {/if} {/if}  {include file="buttons/button.tpl" but_meta="ty-btn__secondary" but_text=__("view_orders") but_href="orders.search"}
{include file="buttons/continue_shopping.tpl" but_role="text" but_meta="ty-checkout-complete__button-vmid" but_href=$continue_url|fn_url}
{/hook}
{capture name="mainbox_title"}{__("order")}{/capture}