Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › logic problem
- This topic has 3 replies, 2 voices, and was last updated 10 months, 1 week ago by
Ernest Marcinko.
-
AuthorPosts
-
July 29, 2025 at 12:44 am #55049
osmankocak212
ParticipantHello, I have been using your plugin for almost 2 months and I am generally very satisfied with it, but I have one problem and I could not solve it even though I have looked through the documentation. Could you please help me?
Example search: JBL Go 4
This search contains both single and multiple-word terms, such as numbers and “go.” I want the initial search to match products with exact matching titles. Then, it should display products by brand and category.Example: JBL Go 4 (Its a waterproof speaker)
Expected output: JBL Go 4
Expected output continued: JBL Go
Expected output continued: JBLI really want it to work like the one above, but my search results are ridiculous, and irrelevant products are listed first and last. My products are sometimes missing from the middle pages.
Problem 2: There are products that include “JBL Go 4” in their product titles.
Is there a way to ensure these are displayed when I perform an example search? Example search: JBL Go 4If it’s possible, I haven’t seen it in the documentation, but I’d like to ask.
Example: JBL Go 4 (waterproof speaker)
Expected output: JBL Go 4
Expected output continued: JBL Go
Expected output continued 2: JBL
Expected output continued 3: Other products in the category of products that match perfectly on the JBL Go 4NOTE: When I search the site in the background, there are almost 12 products that match the JBL Go 4, but I can’t even find them on the front page. Is there a way to hide the parameters in this search link or make them more readable?
July 29, 2025 at 2:22 pm #55057Ernest Marcinko
KeymasterHi,
Thanks for the details.
The issue was caused by some minor misconfiguration. The primary ordering was set to title instead of relevance, I have changed it here: https://i.imgur.com/pGtH7Zt.png
I have also adjusted the keyword logic for better one for your case: https://i.imgur.com/bx9KTzP.pngNow you should see the most relevant matches on the top as expected.
July 30, 2025 at 1:12 am #55062osmankocak212
ParticipantHowever, if I use these rules, the search page pagination does not work on desktop but it works on mobile, even though I search for the same terms. Is this a bug?
July 31, 2025 at 11:10 am #55092Ernest Marcinko
KeymasterI tried a few phrases but all seems to be okay on my end: https://bi-siparis.com/?post_type=product&s=jbl&asp_active=1&p_asid=3&p_asp_data=1&aspf%5B_stock_status__1%5D=instock&filters_initial=1&filters_changed=0&qtranslate_lang=0&woo_currency=TRY¤t_page_id=534887
Does that happen to a specific phrase?
-
AuthorPosts
- You must be logged in to reply to this topic.