MarMis Posted April 19, 2016 Share Posted April 19, 2016 When doing a search in my presta webshop it does popup with the search items, but with broken photo's and under the product name is mentioned "undefined" I have indexed the search and cleared the cache What can I do to improve this? Link to comment Share on other sites More sharing options...
Prestachamps Posted May 9, 2016 Share Posted May 9, 2016 Hi, you should analyze in chrome devtools F12 -> network tab(or firebug) the ajax request's of the blocksearch module, alanyze the response to find the issue. Please provide us the URL of your shop so we can help you out. Regards, Leo Link to comment Share on other sites More sharing options...
MarMis Posted May 31, 2016 Author Share Posted May 31, 2016 (edited) I thought it was solved. Suddenly came back again. Don't know what I have done, that it changed. Website: Tease2Please Edited May 31, 2016 by MarMis (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted August 16, 2016 Share Posted August 16, 2016 Hi, after a quick test, there is something wrong about your theme's(warehouse) ajax search response, the ajax response is missing two variables, one is the image url of the returned products , the second is the price that is not returned by the ajax. These issues can be fixed in the Javascript/php of the search module. Regards, Leo Link to comment Share on other sites More sharing options...
MarMis Posted August 17, 2016 Author Share Posted August 17, 2016 Hi Leo Thank you for your response. Can you tell me where I can find this, so that I can solve this? Link to comment Share on other sites More sharing options...
Prestachamps Posted August 28, 2016 Share Posted August 28, 2016 Hi, If i remember correctly there is a mod_blocksearch module (the warehouse theme's version of the blocksearch module) Try resetting this module, and disable the prestashop's blocksearch module, maybe you have both enabled and that is the problem. (for warehouse the prestashop's module should be disabled/uninstalled, in order for the mod_blocksearch to work correctly) If this does not fix your issue, then the ssue in in the mod_blocksearch module's javascript is the code that parses the ajax request of the search, and displays the dropdown with the results(here the image url is undefined, this is why you don't have image displayed). In this JS file you could recreate the url of the product image, if the ajax(php) is not sending it. The good solution is to modify the module's ajax php file to send the image url in the JSON response. Regards, Leo Link to comment Share on other sites More sharing options...
rakotoss Posted September 6, 2016 Share Posted September 6, 2016 in warehouse theme in backofice >advanced parameters > parametrs > disable ovveride option set to no (this is answer from author of the theme found it on the themeforest.net ) was same problem, now all ok 1 Link to comment Share on other sites More sharing options...
MarMis Posted September 6, 2016 Author Share Posted September 6, 2016 Yeahhh that was the solution to a long lived problem. Advance parameters --> Performance --> Debug mode --> disable all overrides --> set to NO 1 Link to comment Share on other sites More sharing options...
Fehero Posted January 30, 2017 Share Posted January 30, 2017 Hey, you just saved my life, I've been trying to solve the issue for a year! Thanks, thanks thanks :lol: Link to comment Share on other sites More sharing options...
alicu90 Posted December 11, 2018 Share Posted December 11, 2018 For me this doesn't work I can find the products and the photos, but after clicking I see this: ...com/undefined Link to comment Share on other sites More sharing options...
jnbdc Posted October 7, 2019 Share Posted October 7, 2019 On 12/12/2018 at 4:40 AM, alicu90 said: For me this doesn't work I can find the products and the photos, but after clicking I see this: ...com/undefined same here i didn't work for me 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