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?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


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>

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


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.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

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

Users browsing this forum: No registered users and 43 guests