[SOLVED] How to link the product name with it's actual product page in customer's order history page
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
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?iDragonFly^ wrote: ↑Fri Apr 09, 2021 7:51 pmHi,
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
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
i found these two related topics but for older versions:straightlight wrote: ↑Fri Apr 09, 2021 9:55 pmWhich topics did you found?iDragonFly^ wrote: ↑Fri Apr 09, 2021 7:51 pmHi,
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
viewtopic.php?t=155017
viewtopic.php?t=171750
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
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.straightlight wrote: ↑Sat Apr 10, 2021 1:41 amThe 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>
Then please add [SOLVED] to the start of this post title.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Who is online
Users browsing this forum: No registered users and 517 guests