Request for "AND" Search Logic in EasyStore Search Addon to Improve Product Discoverability - Forum | JoomShaper
Solved EasyStore

Request for "AND" Search Logic in EasyStore Search Addon to Improve Product Discoverability

Asked by Bruce Paine 5 months ago Last activity 5 months ago

Hi JoomShaper Team,

I am currently developing a store on Joomla 5 using EasyStore and the SP Page Builder Pro EasyStore addons (storefront, single, and collection pages).

I’ve encountered a significant limitation with the current EasyStore Search addon compared to the native Joomla Smart Search. When users enter multi-word queries to pinpoint specific products (e.g., "Brand Name - Model - Material"), the search results are too broad.

The Problem:

It appears the search currently uses OR logic. For example, searching for "Haflinger Emils" returns every "Haflinger" product AND every "Emils" product, burying the specific item the customer is looking for.

The Request:

Please consider updating the EasyStore Search logic to use AND logic by default, or provide a toggle to switch between the two.

  • Target: Searching for multiple terms should only return products containing all of those terms in the title or indexed fields.
  • Reason: This is essential for stores with larger catalogs where pinpointing exact items is necessary for a professional user experience.

Currently, I am forced to tell users to search for specific product codes only, which is a difficult workaround for the average customer.

Thank you for your hard work on EasyStore!

Accepted answer

Marked as the solution
Ziaul Kabir Staff

Hi Bruce,

When you search with multiple keywords, the current behaviour is that it returns products matching any of those terms, so it is effectively using OR logic instead of strict AND logic.

That’s why you are seeing both fully matching items and partially matching items in the results.

We understand your requirement for more precise filtering and have noted your request for improvement.

Let me know if you need anything else clarified.

Best regards,

Bruce Paine Asked this

Hi Ziaul,

Thanks for confirming my understanding of the search function behaviour.

I will look forward to all future improvements.

All the best.

Log in to reply.