Home Forums WoodMart support forum Make Woodmart Search Return Only Exact Keyword Matches

Make Woodmart Search Return Only Exact Keyword Matches

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #702112

    elbahinet
    Participant

    Hello Woodmart Support Team,

    I hope you are doing well.

    I am using the Woodmart theme with WooCommerce, and I would like to adjust the search behaviour.

    My objective is the following.
    When a user types a keyword in the search bar, the results should only return products that exactly match the searched terms.
    I want to avoid showing products that are only loosely related or matched through categories, tags, or other indirect associations.

    In short, the search should focus strictly on the typed keywords, for example, product title and main product content, and not broaden the results to unrelated products.

    Could you please let me know:
    • If Woodmart has a built-in option to make the search more strict and keyword-based.
    • If the Woodmart AJAX search can be configured to return results only matching the search terms.
    • Or if there is a recommended hook or best practice to achieve this behaviour while staying compatible with Woodmart.

    Thank you in advance for your help.

    Best regards,

Viewing 1 post (of 1 total)