{assign var=$products value=$cart->getProducts()}

{l s='Summary of my order' mod='blockordersummary'}

{l s='My cart' mod='blockordersummary'}
    {foreach $products as $product}
  • {$product.quantity} x {$product.name|truncate:18:'…'} {convertPrice price=$product.total_wt}
  • {/foreach}

{l s='Products total' mod='blockordersummary'} {convertPrice price=$cart->getOrderTotal(TRUE, 1)}

{if {$cart->getOrderTotal(TRUE, 2) != 0}}

{l s='Discounts total' mod='blockordersummary'} {convertPrice price=$cart->getOrderTotal(TRUE, 2)}

{/if}
{l s='Shipping' mod='blockordersummary'}

{$carrier_name} {convertPrice price=$cart->getOrderTotal(TRUE, 5)}

{l s='Delivery delays' mod='blockordersummary'}

{$delay_name}

{if isset($delivery_date)} {foreach from=$delivery_date key=k item=date} {if $k == 1}

{l s='Date de réception prévue entre le' mod='blockordersummary'} {$date.date_start|date_format:'%d/%m/%Y'} {l s='et le' mod='blockordersummary'} {$date.date_end|date_format:'%d/%m/%Y'}

{elseif $k == 5}

{l s='Livraison prévue avant le' mod='blockordersummary'} {l s='24/12' mod='blockordersummary'}

{/if} {/foreach} {/if}
{l s='My shipping address' mod='blockordersummary'}

{$order_address}

{l s='My payment' mod='blockordersummary'}

{l s='Total to pay' mod='blockordersummary'} {convertPrice price=$cart->getOrderTotal(TRUE)}