• Hello.

    We build the index with all custom fields etc.

    The thing is when we search by price it doesn’t load all the products of that price.

    The default operator is AND with OR fallback enabled (checkbox unchecked)

    For example we have products (40 of them) that have Sale price 59,90

    We search 59,90 and only bring a few of them.

    How we can see what goes wrong?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Relevanssi sees “59,90” as “59 90” and with the default settings doesn’t bother indexing that at all, because those parts are shorter than the minimum word length.

    See this knowledge base entry and “Keeping decimal separators”. You can use that code to make Relevanssi keep decimal separators intact. If you’re using a comma instead of a period, change that in the function ('/\.(\d)/' to '/\,(\d)/' and '.' to ','). Then reindex, and searching for prices should work.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce Search Price’ is closed to new replies.