I'm using opencart 2.3.0.2
On the search...
How can i enforce whole word matching only (disable partial word and related word matching) in the product search please?
Hope someone can help!
Thanks,
In catalog/model/catalog/product.php file, in the getProducts method replace:
with:
and remove the percentages characters.
Code: Select all
LIKE
Code: Select all
=
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 454 guests