Home General questions Making the 'quick search' feature search by...
Making the 'quick search' feature search by 'all of these words'
In default CS-Cart quick search searches by any of these words.
To make the 'quick search' feature search by 'all of these words':
- Open the search_products.php file located in the include/common directory of your CS-Cart installation.
- Find and replace the following part of code there:
$search_data['match'] = (!empty($match)) ? $match : 'any'; // any, all, exact
with this one:
$search_data['match'] = (!empty($match)) ? $match : 'all'; // any, all, exact - Save the file.
