Skip to content

Commit

Permalink
Merge pull request #626 from tblivet/issue-611
Browse files Browse the repository at this point in the history
Fix: issue-611
  • Loading branch information
nicosomb authored Jun 5, 2024
2 parents 2ef39b2 + 1950578 commit 15d13c0
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions templates/customer/_partials/order-detail-no-return.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,24 @@
</td>

<td>
<strong>
<a {if isset($product.download_link)}href="{$product.download_link}" {/if}>
<p class="order__item__name fw-bold mb-0">
<a href="{$link->getProductLink($product.id_product)}">
{$product.name}
</a>
</strong><br />
</p>

{if $product.product_reference}
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}<br />
<p class="order__item__ref">
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
</p>
{/if}

{if isset($product.download_link)}
<p class="order__item__download my-2">
<a href="{$product.download_link}">
<i class="material-icons" aria-hidden="true">download</i> {l s='Download' d='Shop.Theme.Actions'}
</a>
</p>
{/if}

{if $product.customizations}
Expand Down Expand Up @@ -155,10 +165,26 @@
</div>

<div class="col-8">
<p class="order__item__name fw-bold">{$product.name}</p>
<p class="order__item__name fw-bold mb-0">
<a href="{$link->getProductLink($product.id_product)}">
{$product.name}
</a>
</p>

{if $product.product_reference}
<div class="order__item__ref">{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}</div>
<p class="order__item__ref">
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
</p>
{/if}

{if isset($product.download_link)}
<p class="order__item__download my-2">
<a href="{$product.download_link}">
<i class="material-icons" aria-hidden="true">download</i> {l s='Download' d='Shop.Theme.Actions'}
</a>
</p>
{/if}

{if $product.customizations}
{foreach $product.customizations as $customization}
<div class="customization">
Expand Down

0 comments on commit 15d13c0

Please sign in to comment.