{* upravený fallback *}

{extends_parent}

{block "main"}
   {block "tpl-vars"}
      {$body.stepName = 5}
      {$body.steps[0] = [title => 'Košík']}
      {$body.steps[1] = [title => 'Doprava a platba']}
      {$body.steps[2] = [title => 'Dodací údaje']}
      {$body.steps[3] = [title => 'Souhrn']}
   {/block}
   <main class="main main-ordering-success">
      {block 'order-process'}
         <div class="container-fluid order-process-container">
            {include "ordering/ordering.process.tpl" last_step=true}
         </div>
      {/block}

      <div class="container">
         {change_currency currency=$body.order->currency}
         {get_order_info type='conversion_sent' order=$body.order assign='conversion_sent'}
         {if !isDebug() and $body.orderSent and ($conversion_sent or $smarty.get.force_conversion)}
            {include "orderViewTracking.tpl"}
         {/if}
            <div class="page-ordersuccess {if $body.emailRegistered}logged{/if}">
               {block "ordersuccess-text"}
                  {include "block.messages.tpl"}
                  {insert_page type="ORDER_SUCCESS" use_default=1}
               {/block}
            </div>
         {/change_currency}
      </div>
   </main>
{/block}
