gaiuspahk Posted May 27, 2018 Share Posted May 27, 2018 Hey! Since I installed a new theme, the ajax search stopped working for my site (https://autocare.ee). Ajax and instant search are both turned on in the settings. Tried replacing the blocksearch-top.tpl with the original. Ajax still didn't work and messed up my layout. What could be the issue? {* * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- Block search module TOP --> <div id="search_block_top" class="col-lg-7 col-md-7 col-sm-7 col-xs-12 col-sm-push-3 col-md-push-3 col-lg-push-3 clearfix"> <form id="searchbox" method="get" action="{$link->getPageLink('search', null, null, null, false, null, true)|escape:'html':'UTF-8'}" > <input type="hidden" name="controller" value="search" /> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query form-control" type="text" id="search_query_top" name="search_query" placeholder="{l s='' mod='blocksearch'}" value="{$search_query|escape:'htmlall':'UTF-8'|stripslashes}" /> <button type="submit" name="submit_search" class="btn btn-default button-search"> {l s='Search' mod='blocksearch'} </button> </form> </div> <!-- /Block search module TOP --> Thanks! blocksearch-top.tpl Link to comment Share on other sites More sharing options...
gaiuspahk Posted June 5, 2018 Author Share Posted June 5, 2018 Anyone? 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