Cafe Posted December 25, 2023 Share Posted December 25, 2023 (edited) I have a strange problem with the search engine. It works correctly with everything, but when I search for a specific word, in this case "llavero" it does not find anything, but we do have products with that key both in the name, in the keywords, and in the description. I have reset the search engine, I have redone the index, I have searched to see if it was on the blacklist and it is not... that exact word... it is not searched for! Edited December 25, 2023 by Cafe (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted December 25, 2023 Share Posted December 25, 2023 4 hours ago, Cafe said: I have a strange problem with the search engine. Do you mean the search function of your shop? Or any Searchengine? Link to comment Share on other sites More sharing options...
Cafe Posted December 25, 2023 Author Share Posted December 25, 2023 I am referring to the search engine that I make available to the public so that they can search for things in my online store, so the search function of your shop, yes. They can search for anything, but if you search for "llavero" absolutely nothing comes up, not even new products with that word. It's very rare. Link to comment Share on other sites More sharing options...
Nickz Posted December 25, 2023 Share Posted December 25, 2023 1 hour ago, Cafe said: but if you search for "llavero" absolutely nothing comes up Has it worked before? Which module handles that, and have you done any updates recently? Link to comment Share on other sites More sharing options...
Cafe Posted December 25, 2023 Author Share Posted December 25, 2023 Yes, it worked before, but now if I create a product with the word "keychain"... I just realized something! It does find products with the word "keychain" but they appear hidden in the search engine. If I use the browser tools to see the code that is built when you search for something and it appears in the searches but hidden... I am using the search engine that comes by default with the store. If I check the code with the search engine, finding something correctly, the code that is mounted in the search engine is this: <ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content ui-corner-all" id="ui-id-1" tabindex="0" style="top: 200px; left: 611px; width: 301px;"> <li class="ui-menu-item" role="presentation"><img src="/2675-small_default/placa-chapa-identificacion-et.jpg" class="product-img"><a id="ui-id-92" class="ui-corner-all" tabindex="-1"><span class="category">MILITAR</span><span class="separator"> > </span><span class="product">PLACA CHAPA IDENTIFICACION</span><span class="price">3,95 €</span></a></li> <li class="ui-menu-item" role="presentation"><img src="/48188-small_default/placa-vigilante-de-seguridad-pvc.jpg" class="product-img"><a id="ui-id-93" class="ui-corner-all" tabindex="-1"><span class="category">POLICIAL Y SEGURIDAD</span><span class="separator"> > </span><span class="product">PLACA VIGILANTE DE SEGURIDAD PVC</span><span class="price">10,95 €</span></a></li> <li class="ui-menu-item" role="presentation"><img src="/74159-small_default/placa-vigilante-de-seguridad-pvc.jpg" class="product-img"><a id="ui-id-94" class="ui-corner-all" tabindex="-1"><span class="category">POLICIAL Y SEGURIDAD</span><span class="separator"> > </span><span class="product">PLACA VIGILANTE DE EXPLOSIVOS PVC</span><span class="price">10,95 €</span></a></li> </ul> But if I search for "llavero" the code that appears in the search engine is like this: <ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content ui-corner-all" id="ui-id-1" tabindex="0" style="top: 200px; left: 611px; width: 301px; display: none;"> <li><img src="/109483-small_default/llavero-pixelado.jpg" class="product-img"><a><span class="category">LLAVEROS BORDADOS</span><span class="separator"> > </span><span class="product">LLAVERO PIXELADO</span><span class="price">6,00 €</span></a></li> <li><img src="/109488-small_default/llavero-espana.jpg" class="product-img"><a><span class="category">LLAVEROS BORDADOS, BOLIGRAFOS Y AGENDAS</span><span class="separator"> > </span><span class="product">LLAVERO ESPAÑA</span><span class="price">4,95 €</span></a></li> <li><img src="/109499-small_default/llavero-militar.jpg" class="product-img"><a><span class="category">ACCESORIOS MILITARES</span><span class="separator"> > </span><span class="product">LLAVERO MILITAR</span><span class="price">6,00 €</span></a></li> <li><img src="/109494-small_default/llavero-tactico.jpg" class="product-img"><a><span class="category">ACCESORIOS MILITARES</span><span class="separator"> > </span><span class="product">LLAVERO TACTICO</span><span class="price">6,00 €</span></a></li> </ul> As you can see, the search engine hides the UL and the LIs do not have styles, which is why they are not seen... How strange is this! Link to comment Share on other sites More sharing options...
Nickz Posted December 25, 2023 Share Posted December 25, 2023 That code has nill influence towards the search. The search goes thru the Database, most likely thru the table ps_product Link to comment Share on other sites More sharing options...
Cafe Posted December 26, 2023 Author Share Posted December 26, 2023 But i dont understand how and why only with "llavero". 😭 Link to comment Share on other sites More sharing options...
Nickz Posted December 26, 2023 Share Posted December 26, 2023 (edited) Most likely your server did an update on the php version and the module in charge for the search did not follow thru with that. Edited January 1, 2024 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted December 31, 2023 Share Posted December 31, 2023 What is your Prestashop version? Link to comment Share on other sites More sharing options...
Cafe Posted January 1, 2024 Author Share Posted January 1, 2024 1.7.8.7 Link to comment Share on other sites More sharing options...
AddWeb Solution Posted January 2, 2024 Share Posted January 2, 2024 On 12/25/2023 at 3:29 PM, Cafe said: I search for a specific word, in this case "llavero" it does not find anything Hi, Manually check your database to ensure that the word "llavero" is stored correctly in relevant tables. Check the product names, keywords, and descriptions in the database to verify that the data matches your expectations. If you've made any custom modifications to the search functionality or templates, review them to see if there's anything specific affecting the search for the word "llavero." Thanks. 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