• Resolved sinagoga

    (@sinagoga)


    Greetings,
    At the beginning I would like to praise the plugin.
    The client I maintain the site for reported a small bug (a big one for them)
    When the search is done up to the 4th character it shows all 9 items with that SKU number, but adding the 5th character only shows 3 and if it should show all 9.
    Here’s an example: all nine items have a same SKU of first 5 numbers 76.839. they differ only by the last number or letter 76.839.1, 76.839.2, 76.839.3, 76.839.A …. When I search for 7683 it shows all 9 but when I search for 76839 it only shows 3.

    https://prntscr.com/Q-RedahH1GkN

    https://prntscr.com/9_dUsjBF7ANW

    https://prntscr.com/DsKQIOBIMd5F

    The site uses the Woodmart theme and so far there have been no problems. I checked all options, regenerated, changed options, turned off plugins and added some custom codes, I turned on debugging… but it didn’t help.
    The only interesting thing is that three of the items it shows are new and the other 6 are from before. The same is the case with the other products items (SKU 76.895.)

    Thanks in advance!

    The page I need help with: [log in to see the link]

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

    (@msaari)

    Is “Keyword matching” set to “Partial words” or “Partial words when no match for whole words”? If it’s the latter, switch to “Partial words”.

    The reason this is so is because you’re using the decimal period setting, and in those three that stand out, there’s a letter in the end of the SKU so the period is handled differently. So “76.839.3” becomes “768393” and “76.839.D” becomes “76839 D”, which whole word matches to “76839”, excluding the partial matches.

    Thread Starter sinagoga

    (@sinagoga)

    Thank Mikko for your quick response.
    It was set to “Partial words when not matched for whole words”, and switching to “Partial words” fixed the problem. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incomplete search display after entering 5 characters’ is closed to new replies.