From d5606b7734b24bb0aa94819dfba8a4fdfa9bdbee Mon Sep 17 00:00:00 2001 From: jatiny Date: Wed, 20 Nov 2024 06:36:08 +0000 Subject: [PATCH] chore: work on the guest tracking page ui --- .../_partials/order-detail-no-return.tpl | 10 +++---- .../_partials/order-detail-return.tpl | 15 +++++------ templates/customer/guest-tracking.tpl | 14 +++++----- templates/customer/order-detail.tpl | 26 +++++++++---------- 4 files changed, 32 insertions(+), 33 deletions(-) diff --git a/templates/customer/_partials/order-detail-no-return.tpl b/templates/customer/_partials/order-detail-no-return.tpl index 040e309..92f3783 100644 --- a/templates/customer/_partials/order-detail-no-return.tpl +++ b/templates/customer/_partials/order-detail-no-return.tpl @@ -146,7 +146,7 @@ {$product.quantity} {/if} -
{'$'|cat:$product.total}
+
{$|cat:$product.total}
@@ -158,14 +158,14 @@ {foreach $order.subtotals as $line} {if $line.value}
-
{'$line.label'}
-
{'$line.value'}
+
{$line.label}
+
{$line.value}
{/if} {/foreach}
-
{'$order.totals.total.label'}
-
{'$order.totals.total.value'}
+
{$order.totals.total.label}
+
{$order.totals.total.value}
{/block} diff --git a/templates/customer/_partials/order-detail-return.tpl b/templates/customer/_partials/order-detail-return.tpl index 8aeefc5..c42db64 100644 --- a/templates/customer/_partials/order-detail-return.tpl +++ b/templates/customer/_partials/order-detail-return.tpl @@ -141,14 +141,14 @@ {foreach $order.subtotals as $line} {if $line.value} - {'$line.label'} - {'$line.value'} + {$line.label} + {$line.value} {/if} {/foreach} - {'$order.totals.total.label'} - {'$order.totals.total.value'} + {$order.totals.total.label} + {$order.totals.total.value} @@ -216,13 +216,12 @@ {if $line.value}
{$line.label}
-
{'$line.value'}
+
{$line.value}
{/if} - {/foreach} -
+ {/foreach}
{$order.totals.total.label}
-
{'$order.totals.total.value'}
+
{$order.totals.total.value}
diff --git a/templates/customer/guest-tracking.tpl b/templates/customer/guest-tracking.tpl index 52a149b..fdb7b9f 100644 --- a/templates/customer/guest-tracking.tpl +++ b/templates/customer/guest-tracking.tpl @@ -37,10 +37,10 @@ {block name='page_content' append} {block name='guest_to_customer'} -
+
-

{l s='Transform your guest account into a customer account and enjoy:' d='Shop.Theme.Customeraccount'}

-
    +

    {l s='Transform your guest account into a customer account and enjoy:' d='Shop.Theme.Customeraccount'}

    +
    • -{l s='Personalized and secure access' d='Shop.Theme.Customeraccount'}
    • -{l s='Fast and easy checkout' d='Shop.Theme.Customeraccount'}
    • -{l s='Easier merchandise return' d='Shop.Theme.Customeraccount'}
    • @@ -49,9 +49,9 @@
      -
      @@ -62,7 +62,7 @@ - + diff --git a/templates/customer/order-detail.tpl b/templates/customer/order-detail.tpl index fcc8a17..477aa3d 100644 --- a/templates/customer/order-detail.tpl +++ b/templates/customer/order-detail.tpl @@ -30,7 +30,7 @@ {block name='page_content'} {block name='order_infos'}
      -
      +
      @@ -43,7 +43,7 @@
      {/if}
      -
      +
      @@ -57,7 +57,7 @@ {/if}
      -
      +
      • {l s='Carrier' d='Shop.Theme.Checkout'} {$order.carrier.name}
      • {l s='Payment method' d='Shop.Theme.Checkout'} {$order.details.payment}
      • @@ -86,7 +86,7 @@ {/block} {block name='order_history'} -
        +

        {l s='Follow your order\'s status step-by-step' d='Shop.Theme.Customeraccount'}

        @@ -98,8 +98,8 @@ {foreach from=$order.history item=state} - - +