ajensen27 Posted August 12, 2013 Share Posted August 12, 2013 Was just trying out the search function on my top menu bar and when I try to search all it does is refresh the home page or if I'm on another page it brings me back to the home page. Any ideas on why this might be happening? I didn't see any JS errors in my Chrome console. Website is www (dot) llmedico (dot) com Thanks! Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 What browser are you using? For me it keeps me on the homepage but it does show different search results. Did it act differently before? Link to comment Share on other sites More sharing options...
ajensen27 Posted August 12, 2013 Author Share Posted August 12, 2013 Thanks Benjamin. I don't ever remember it not working before that's what is weird. I'm using Chrome Version 28.0.1500.95 m Just tried it in IE10 and it's doing the same thing. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 So, your products on the homepage do not change at all? Or are all your products on the homepage, "Featured Products" and they just appear in random order when you refresh? Link to comment Share on other sites More sharing options...
ajensen27 Posted August 12, 2013 Author Share Posted August 12, 2013 Yes all the products on my homepage are "Featured Products" and they appear in random order. When I do a search, I should see results in a product list but it just shows the homepage. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Hi, make sure to have a backup of your Database and PrestaShop files. Have you disabled and enabled the module? Is it the default "Quick Search Block"? Link to comment Share on other sites More sharing options...
ajensen27 Posted August 12, 2013 Author Share Posted August 12, 2013 This isn't the "quick search block". This is the search block that is built in to the "Top Horizontal Menu" module that comes with Prestashop. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Okay cool, configure the top horizontal menu and toggle on and off the search box option. That would be my first suggestion. Link to comment Share on other sites More sharing options...
ajensen27 Posted August 12, 2013 Author Share Posted August 12, 2013 Turned off the search bar, saved, turned it back on and saved and it's still doing the same thing. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Alright, next thing Could you post the contents of your modules/blocktopmenu.tpl Link to comment Share on other sites More sharing options...
ajensen27 Posted August 13, 2013 Author Share Posted August 13, 2013 {if $MENU != ''} </div> <!-- Menu --> <div class="sf-contener clearfix"> <ul class="sf-menu clearfix"> {$MENU} {if $MENU_SEARCH} <li class="sf-search noBack" style="float:right"> <form id="searchbox" action="{$link->getPageLink('search')}" method="get"> <p> <input type="hidden" name="controller" value="search" /> <input type="hidden" value="position" name="orderby"/> <input type="hidden" value="desc" name="orderway"/> <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'htmlall':'UTF-8'}{/if}" /> </p> </form> </li> {/if} </ul> <div class="sf-right"> </div> <!--/ Menu --> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts