Hi,
I’ve found two issues with the search synonyms feature in Woodmart related to uppercase behavior and multi-word synonyms.
1) Uppercase first letter breaks the synonym (PC & mobile)
I have synonyms configured in:
Theme Settings → Search → Synonyms, for example:
aot = attack on titan
kimetsu = demon slayer
lotr = el señor de los anillos
The issue:
If the user types exactly aot, the synonym works.
But if the user types Aot, AOT, or any variation where the first letter is uppercase, the synonym does NOT work and returns “No products found”.
This affects both desktop and mobile, but on mobile it is more visible because the mobile keyboard automatically capitalizes the first letter, so users naturally trigger the failure case.
It seems the synonyms are being matched in a case-sensitive way, which defeats the purpose of synonyms because users don’t always write them in perfect lowercase.
2) Multi-word synonyms don’t behave as a single phrase
Examples:
caracortada = scarface → works.
cara cortada = scarface → returns No products found.
formula = f1 → works.
formula 1 = f1 → returns almost all products containing “formula” or “1”, instead of behaving as a phrase synonym.
This suggests Woodmart is splitting the synonym by spaces and evaluating each word separately, instead of treating the entire phrase as a single alias.
Expected behavior
Synonyms should be case-insensitive
So aot, Aot, AOT, etc. should all map to the same synonym.
Multi-word synonyms should be supported as full phrases, not tokenized word-by-word.
Right now I’m using custom PHP to normalize the search query (lowercaseg), but couldn’t find a fix for the multi-words.
Please can you check it and give me an answer?
Thanks!