Post by iDragonFly^ » Fri Apr 09, 2021 7:51 pm

Hi,
How to link the product name with it's actual product page in customer's order history page?
i searched for it on this forum and i found all answers were for old versions, i'm using 3.0.3.2

Thanks in advanced

Newbie

Posts

Joined
Sat Mar 10, 2018 7:56 pm

Post by straightlight » Fri Apr 09, 2021 9:55 pm

iDragonFly^ wrote:
Fri Apr 09, 2021 7:51 pm
Hi,
How to link the product name with it's actual product page in customer's order history page?
i searched for it on this forum and i found all answers were for old versions, i'm using 3.0.3.2

Thanks in advanced
Which topics did you found?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by iDragonFly^ » Sat Apr 10, 2021 1:26 am

straightlight wrote:
Fri Apr 09, 2021 9:55 pm
iDragonFly^ wrote:
Fri Apr 09, 2021 7:51 pm
Hi,
How to link the product name with it's actual product page in customer's order history page?
i searched for it on this forum and i found all answers were for old versions, i'm using 3.0.3.2

Thanks in advanced
Which topics did you found?
i found these two related topics but for older versions:
viewtopic.php?t=155017
viewtopic.php?t=171750

Newbie

Posts

Joined
Sat Mar 10, 2018 7:56 pm

Post by straightlight » Sat Apr 10, 2021 1:41 am

The controller steps are the same. However, for the TWIG files, it would be:

Code: Select all

<td class="text-center">{% if product.thumb %}
    <a href="{{ product.href }}"> <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-thumbnail" /></a>
{% endif %}</td>

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by iDragonFly^ » Sat Apr 10, 2021 7:45 pm

straightlight wrote:
Sat Apr 10, 2021 1:41 am
The controller steps are the same. However, for the TWIG files, it would be:

Code: Select all

<td class="text-center">{% if product.thumb %}
    <a href="{{ product.href }}"> <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-thumbnail" /></a>
{% endif %}</td>
Thanks for your post and hint, i solved it by modifying an existing extension that is used to display missing product images in pages, i forgot about it.

Newbie

Posts

Joined
Sat Mar 10, 2018 7:56 pm

Post by paulfeakins » Mon Apr 12, 2021 6:45 pm

iDragonFly^ wrote:
Sat Apr 10, 2021 7:45 pm
i solved it by modifying an existing extension
Then please add [SOLVED] to the start of this post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: pprmkr, Stinger23 and 16 guests