dorje Posted January 22, 2013 Share Posted January 22, 2013 Hi all Does anyone know any free module or modifications that can show images in search results while doing search for products in prestashop .14.4.1 shop? Link to comment Share on other sites More sharing options...
hitmaster Posted January 29, 2013 Share Posted January 29, 2013 Hi, do you talk about google image search? My tips for better image positioning in google search: Your photo/image should be unique; Your image name should contain keyword you rank; Image alt text should include keyword; Page where is the picture should be with keyword; Submit picture to pinterest; Give a time while you will rank! Link to comment Share on other sites More sharing options...
dorje Posted February 21, 2013 Author Share Posted February 21, 2013 No i am talking about prestashop internal search module. i mean when customers search products through search bar. With auto suggestion i want to show product image with it inside the search bar... so any trick or module to do this thing ? Like this paid module http://addons.prestashop.com/en/search-filters-prestashop-modules/3461-asearch-autocomplete-search.html Link to comment Share on other sites More sharing options...
kbytin Posted March 27, 2013 Share Posted March 27, 2013 in blocksearch-top.tpl change $("#search_query_top") .autocomplete( '{/literal}{if $search_ssl == 1}{$link->getPageLink('search.php', true)}{else}{$link->getPageLink('search.php')}{/if}{literal}', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { return value; }, to $("#search_query_top") .autocomplete( '{/literal}{if $search_ssl == 1}{$link->getPageLink('search.php', true)}{else}{$link->getPageLink('search.php')}{/if}{literal}', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { return "<img src=\"" + baseDir + "img/tmp/" + "product_mini_" + data.id_product + ".jpg\" alt=\"" + value + "\" />" + value; }, Found on internet last year (don't remember where), it works on my shop 1 Link to comment Share on other sites More sharing options...
dorje Posted March 28, 2013 Author Share Posted March 28, 2013 (edited) Could you send me ur shop's link. i tried it on my local host but not working. My prestashop version is 1.4.4.1 and it's on go daddy. Edited March 28, 2013 by dorje (see edit history) Link to comment Share on other sites More sharing options...
dorje Posted March 28, 2013 Author Share Posted March 28, 2013 Oh sry it worked . Great job buddy and thanks again . Also can u tell me the code to add description and price in the search .? Link to comment Share on other sites More sharing options...
valx Posted May 15, 2013 Share Posted May 15, 2013 what about the version 1.5.4.0? I tried to put the same code, but it doesn't seem to work. Link to comment Share on other sites More sharing options...
ruchit.devil Posted June 5, 2013 Share Posted June 5, 2013 (edited) what about the version 1.5.4.0? I tried to put the same code, but it doesn't seem to work. try changing the following in the file \xampp\htdocs\prestashop\modules\blocksearch\blocksearch-instantsearch.tpl $("#search_query_{$blocksearch_type}") .autocomplete( '{if $search_ssl == 1}{$link->getPageLink('search', true)}{else}{$link->getPageLink('search')}{/if}', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { return value; } to $("#search_query_{$blocksearch_type}") .autocomplete( '{if $search_ssl == 1}{$link->getPageLink('search', true)}{else}{$link->getPageLink('search')}{/if}', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { return "<img src=\"" + baseDir + "img/tmp/" + "product_mini_" + data.id_product + ".jpg\" alt=\"" + value + "\" />" + value; } Edited June 5, 2013 by ruchit.devil (see edit history) 2 Link to comment Share on other sites More sharing options...
Rneo Posted June 27, 2013 Share Posted June 27, 2013 No all /tmp folder image, difrent way catalog /p id_product + id_image ? Link to comment Share on other sites More sharing options...
Razu Posted November 15, 2013 Share Posted November 15, 2013 how can it be made possible for prestashop v1.5.4.1 Link to comment Share on other sites More sharing options...
vekia Posted November 15, 2013 Share Posted November 15, 2013 how can it be made possible for prestashop v1.5.4.1 http://www.prestashop.com/forums/topic/237306-show-product-image-in-search-results-while-searching/ Link to comment Share on other sites More sharing options...
Razu Posted November 22, 2013 Share Posted November 22, 2013 it worked thank yu Link to comment Share on other sites More sharing options...
vekia Posted November 22, 2013 Share Posted November 22, 2013 thank you for confirmation may i know what ps version you use? and where you use this modification? im so curious Link to comment Share on other sites More sharing options...
caromax Posted April 19, 2014 Share Posted April 19, 2014 (edited) Hi, How to obtain this result on PS 1.25 ? Thank's Edited April 19, 2014 by caromax (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 19, 2014 Share Posted April 19, 2014 as far as i remember (i might be wrong) prestashop 1.2 hasn't got feature to ajax search so it's not possible. Link to comment Share on other sites More sharing options...
Pefdter Posted April 20, 2014 Share Posted April 20, 2014 so any trick or module to do this thing ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now