- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2020
09:57 PM
11-09-2020
09:57 PM
Magento 2 catalog search with apostrophe not working
When I search brand name like L'Occitane and Geather's the search result does not give me the exact result how can I achieve this ?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2020
12:02 AM
11-12-2020
12:02 AM
Re: Magento 2 catalog search with apostrophe not working
special characters are removed from the Magento search.
you can update that with your logic by overriding this class
Magento\Framework\DB\Helper\Mysql\Fulltext
vendor/magento/framework/DB/Helper/Mysql/Fulltext.php
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2021
10:33 AM
08-19-2021
10:33 AM
Re: Magento 2 catalog search with apostrophe not working
How do I override this class in vendor/magento/framework/DB/Helper/Mysql/Fulltext.php to allow an apostrophe?