mikaelhm Posted January 11, 2013 Share Posted January 11, 2013 Hi, First I have to say I am very new to PrestaShop, setting up my first shop, for a client. The client bought a theme, that requires the Quick Search Blok to be "hooked" in at the "displayTop"(Top of pages). I do this by transplanting the module. However, when the module is not hooked in the "header", the jQuery plugin autocomplete is not loaded. I fixed this by adding: if (Configuration::get('PS_SEARCH_AJAX')) $this->context->controller->addJqueryPlugin('autocomplete'); on line 110 of blocksearch.php in ./modules/blocksearch/ As this is my first time playing with presta, I not sure wether this is a bug in the module, that I should report, or whether I am just doing it wrong. Can somebody please enlighten me? Thank you Link to comment Share on other sites More sharing options...
steveirl Posted December 10, 2013 Share Posted December 10, 2013 I've had the same problem as this and managed to resolve using Mikael's fix. 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