I noticed that If I got 2 character of products code, such as "AC", I can searched it with the terms like "*AC*", "**AC", or "AC**"....and so on.
How can I make the system to detect if the the search character is less than 4, let's say 2 characters, it will automatically replace the rest characters with symbol "**". or maybe it will be added to every search title when user input the product code.
But this "**" character should be invisible in page title or any front end and backend layout. It's a hidden code only use on search.
How can I make the system to detect if the the search character is less than 4, let's say 2 characters, it will automatically replace the rest characters with symbol "**". or maybe it will be added to every search title when user input the product code.
But this "**" character should be invisible in page title or any front end and backend layout. It's a hidden code only use on search.