diff --git a/templates/checkout/_partials/order-confirmation-table.tpl b/templates/checkout/_partials/order-confirmation-table.tpl index 8708cea..21ffa54 100644 --- a/templates/checkout/_partials/order-confirmation-table.tpl +++ b/templates/checkout/_partials/order-confirmation-table.tpl @@ -22,115 +22,124 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} -
-
+
+
{block name='order_items_table_head'} -

{l s='Order items' d='Shop.Theme.Checkout'}

-

{l s='Unit price' d='Shop.Theme.Checkout'}

-

{l s='Quantity' d='Shop.Theme.Checkout'}

-

{l s='Total products' d='Shop.Theme.Checkout'}

+

{l s='Order items' d='Shop.Theme.Checkout'}

+

{l s='Unit price' d='Shop.Theme.Checkout'}

+

{l s='Quantity' d='Shop.Theme.Checkout'}

+

{l s='Total price' d='Shop.Theme.Checkout'}

{/block}
-
- +
{block name='order_confirmation_table'} {foreach from=$products item=product} -
-
- - +
+
+ + -
-
- {if $add_product_link}{/if} - {$product.name} - {if $add_product_link}{/if} - {if is_array($product.customizations) && $product.customizations|count} - {foreach from=$product.customizations item="customization"} - -
diff --git a/templates/checkout/order-confirmation.tpl b/templates/checkout/order-confirmation.tpl index d73a970..22a4af6 100644 --- a/templates/checkout/order-confirmation.tpl +++ b/templates/checkout/order-confirmation.tpl @@ -1,18 +1,19 @@ {extends file='page.tpl'} {block name='page_content_container' prepend} -
-
-
-
+
+
+
+
{block name='order_confirmation_header'} -

- {l s='Your order is confirmed' d='Shop.Theme.Checkout'} -

+
+ + {l s='Your order is confirmed.' d='Shop.Theme.Checkout'} +
{/block} -

+ {l s='An email has been sent to your mail address %email%.' d='Shop.Theme.Checkout' sprintf=['%email%' => $customer.email]} {if $order.details.invoice_url} {* [1][/1] is for a HTML tag. *} @@ -25,7 +26,7 @@ ] } {/if} -

+ {block name='hook_order_confirmation'} {$HOOK_ORDER_CONFIRMATION nofilter} @@ -38,10 +39,8 @@ {/block} {block name='page_content_container'} -
-
-
- +
+
{block name='order_confirmation_table'} {include file='checkout/_partials/order-confirmation-table.tpl' @@ -54,23 +53,24 @@ {/block} {block name='order_details'} -
-

{l s='Order details' d='Shop.Theme.Checkout'}:

-
    -
  • {l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' => $order.details.reference]}
  • -
  • {l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.details.payment]}
  • - {if !$order.details.is_virtual} -
  • - {l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.name]}
    - {$order.carrier.delay} -
  • - {/if} -
+
+

{l s='Order details' d='Shop.Theme.Checkout'}:

+
+
+ Order reference: + Payment method: + Shipping method: +
+
+ {$order.details.reference} + {$order.details.payment} + {$order.carrier.name} +
+
{/block}
-
{block name='hook_payment_return'} @@ -79,7 +79,6 @@
- {$HOOK_PAYMENT_RETURN nofilter}
@@ -103,7 +102,7 @@ {/block} {block name='hook_order_confirmation_2'} -