Skip to content

Commit ac55b46

Browse files
committed
fix: issue-611
1 parent d336145 commit ac55b46

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

templates/customer/_partials/order-detail-no-return.tpl

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,27 @@
8484

8585
<td>
8686
<strong>
87-
<a {if isset($product.download_link)}href="{$product.download_link}" {/if}>
87+
<a href="{$link->getProductLink($product.id_product)}">
8888
{$product.name}
8989
</a>
90-
</strong><br />
90+
</strong>
91+
92+
<br />
9193

9294
{if $product.product_reference}
9395
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}<br />
9496
{/if}
9597

98+
<br />
99+
100+
{if isset($product.download_link)}
101+
<a href="{$product.download_link}">
102+
<i class="material-icons" aria-hidden="true">download</i> {l s='Download' d='Shop.Theme.Actions'}
103+
</a>
104+
105+
<br/>
106+
{/if}
107+
96108
{if $product.customizations}
97109
{foreach from=$product.customizations item="customization"}
98110
<div class="customization">

0 commit comments

Comments
 (0)