From ac55b46fa459ebff5e45f8c40754df4dde2ba32c Mon Sep 17 00:00:00 2001 From: tblivet Date: Fri, 17 May 2024 11:59:33 +0200 Subject: [PATCH 1/2] fix: issue-611 --- .../_partials/order-detail-no-return.tpl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/templates/customer/_partials/order-detail-no-return.tpl b/templates/customer/_partials/order-detail-no-return.tpl index f31ae85f8..304186a33 100644 --- a/templates/customer/_partials/order-detail-no-return.tpl +++ b/templates/customer/_partials/order-detail-no-return.tpl @@ -84,15 +84,27 @@ - + {$product.name} -
+ + +
{if $product.product_reference} {l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
{/if} +
+ + {if isset($product.download_link)} + + {l s='Download' d='Shop.Theme.Actions'} + + +
+ {/if} + {if $product.customizations} {foreach from=$product.customizations item="customization"}
From 1950578335f149c43bb430709d9479c21914f497 Mon Sep 17 00:00:00 2001 From: tblivet Date: Mon, 20 May 2024 18:18:35 +0200 Subject: [PATCH 2/2] fix: add download link on mobile and harmonize tags --- .../_partials/order-detail-no-return.tpl | 42 ++++++++++++------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/templates/customer/_partials/order-detail-no-return.tpl b/templates/customer/_partials/order-detail-no-return.tpl index 304186a33..bf26718ba 100644 --- a/templates/customer/_partials/order-detail-no-return.tpl +++ b/templates/customer/_partials/order-detail-no-return.tpl @@ -83,26 +83,24 @@ - +

{$product.name} - - -
+

{if $product.product_reference} - {l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
+

+ {l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference} +

{/if} -
- {if isset($product.download_link)} - - {l s='Download' d='Shop.Theme.Actions'} - - -
+

+ + {l s='Download' d='Shop.Theme.Actions'} + +

{/if} {if $product.customizations} @@ -167,10 +165,26 @@
-

{$product.name}

+

+ + {$product.name} + +

+ {if $product.product_reference} -
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
+

+ {l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference} +

{/if} + + {if isset($product.download_link)} +

+ + {l s='Download' d='Shop.Theme.Actions'} + +

+ {/if} + {if $product.customizations} {foreach $product.customizations as $customization}