Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: issue-611 #626

Merged
merged 2 commits into from
Jun 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading