Jeet Kune Do Posted May 28, 2011 Share Posted May 28, 2011 Hello.In my shop version 1.3.2. the quick search tab working great with the default template. So when you type you got the ajax resulsts.With my custom template when I typing I gotundefined > undefined instead off the products.Could somebody please help? Link to comment Share on other sites More sharing options...
Asenar Posted May 28, 2011 Share Posted May 28, 2011 Well, as you should know, the problem is related to your custom theme.You can compare custom and original .tpl to fix your problem (I suppose this is something like "id=" missing somewhere in blocksearch-top.tpl or something like that Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted May 28, 2011 Author Share Posted May 28, 2011 Well, as you should know, the problem is related to your custom theme.You can compare custom and original .tpl to fix your problem (I suppose this is something like "id=" missing somewhere in blocksearch-top.tpl or something like that I find the solution.The problem was in a bad template coding. I fixed it.Thank you for your suggestion.I really appreciate.Have a great time!Regards. Link to comment Share on other sites More sharing options...
kallym Posted May 29, 2011 Share Posted May 29, 2011 I have the same problem. Can you share your solution? Link to comment Share on other sites More sharing options...
Asenar Posted May 29, 2011 Share Posted May 29, 2011 Kallym,Try to do the same : compare the original tpl files with your customs, and check if some "id=" are missing, or something like that. Link to comment Share on other sites More sharing options...
burpitt Posted June 20, 2011 Share Posted June 20, 2011 Thanks guys, helped me to solve my problem. Somehow I'd replaced the new search_block_top.tpl for an old backup one :S random. ta anyway! Link to comment Share on other sites More sharing options...
Alex Choe Posted August 9, 2011 Share Posted August 9, 2011 Hi. I've installed prestashop 1.4.3 and use custome theme. and ajax search result is undefined. I think you 've solved this problem. Plz, help me. Thanks. <div id="search_block_top"> <form method="get" action="{$link->getPageLink('search.php')}" id="searchbox"> <p> <label for="search_query_top"><!-- image on background --></label> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> <input type="submit" name="submit_search" value="{l s='Search' mod='blocksearch'}" class="button" /> </p> </form> </div> This is which I'm using on custome blocksearch-top.tpl Thanks. Link to comment Share on other sites More sharing options...
Kaloyan_78 Posted March 25, 2012 Share Posted March 25, 2012 Hello, Can you please give us the fixed code ? Link to comment Share on other sites More sharing options...
Marius05 Posted April 13, 2012 Share Posted April 13, 2012 Go to root/modules/blocksearch and copy blocksearch-top.tpl to root/themes/yor_theme/modules/blocksearch/. Clear cache and try. Hope thats help. 1 Link to comment Share on other sites More sharing options...
etelefonro Posted April 27, 2016 Share Posted April 27, 2016 (edited) Hello , same problem here , still not solved Edited April 27, 2016 by etelefonro (see edit history) Link to comment Share on other sites More sharing options...
vascor Posted May 22, 2016 Share Posted May 22, 2016 I find the solution. The problem was in a bad template coding. I fixed it. Thank you for your suggestion. I really appreciate. Have a great time! Regards. How you do it.. please Link to comment Share on other sites More sharing options...
Azoda.net Posted May 24, 2016 Share Posted May 24, 2016 you can try go to references/search on dashboard changed indexing to enable and ajax search to enable then check it again hope it helpful Link to comment Share on other sites More sharing options...
Recommended Posts