Post by jkdesignhk » Fri May 25, 2018 2:47 pm

how to add Thumbnail in search.tpl thanks you~

i want search.tpl show product thumbnail

Newbie

Posts

Joined
Fri May 25, 2018 2:44 pm

Post by IP_CAM » Sat May 26, 2018 1:01 am

Well, look here, to possibly find something matching for your unknown to us version:
https://www.opencart.com/index.php?rout ... d%20Search

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by jkdesignhk » Sun Jun 03, 2018 1:18 pm

IP_CAM wrote:
Sat May 26, 2018 1:01 am
Well, look here, to possibly find something matching for your unknown to us version:
https://www.opencart.com/index.php?rout ... d%20Search
can you help me?

Newbie

Posts

Joined
Fri May 25, 2018 2:44 pm

Post by IP_CAM » Sun Jun 03, 2018 8:54 pm

can you help me?
well, there is no way to assist, as long as you share no figures and facts. :'(
Better read the 'HOW TO' Sections first, to find out, what's needed, to get help.
Ernie

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by scottyboyyy » Tue Jun 05, 2018 10:50 am

Hi jkdesignhk,

It should already be showing thumbnails:

Code: Select all

<div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" class="img-responsive" /></a></div>
Do you have this code in your search.tpl?

Active Member

Posts

Joined
Fri Apr 07, 2017 2:36 am

Post by xxvirusxx » Thu Jun 07, 2018 5:26 am

jkdesignhk wrote:
Sun Jun 03, 2018 1:18 pm

can you help me?
You want something like this?
https://www.opencart.com/index.php?rout ... n_id=26240

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 4 guests