On SEARCH page.
If you don't enter any 'Search keyword' text, you don't get a warning. But if you enter less than 3 you do. It would be nice to have a warning for empty string too.
(just remove the outer: if (!String.IsNullOrWhiteSpace
src\Presentation\Nop.Web\Controllers\CatalogController.cs
...
if (!String.IsNullOrWhiteSpace(model.Q))
{
if (model.Q.Length < _catalogSettings.ProductSearchTermMinimumLength)
{
model.Warning = string.Format(_localizationService.GetResource("Search.SearchTermMinimumLengthIsNCharacters"), _catalogSettings.ProductSearchTermMinimumLength);
}
and additionally, if admin sets ProductSearchTermMinimumLength = 0, then one could search without keyword, yet use the other criteria (Category, Manufacturer, Price range). Although I would probably want to have it check that at least one criteria was entered.
EDIT:
It would also be nice if the Warning message were in red :)