Author Topic: Minimum charaters in product search (mod_virtuemart [product search field])  (Read 1895 times)

Jos

  • Beginner
  • *
  • Posts: 9
Hello,

How to change the PHPcode to change the minimum characters to 3 in [product search field] of [mod_virtuemart]
The records i have are above 115000.
(When searching with none character i get the following error
Fatal error: Maximum execution time of 10 seconds exceeded in C:\domains\ ...wwwroot\libraries\joomla\database\database\mysql.php on line 224)

Thanks for replay, Jos


airone93

  • Beginner
  • *
  • Posts: 19
Different problem, same request.
I have items named like "Base per anello". When I search "Base" nothing is found. When I search "Base p" many products are found. This is because there is a minimum of 6 characters for the search module to work.
I found this article:
http://www.jorink.nl/2010/11/change-the-virtuemart-product-search-minimum-characters/
 but this is for VM 1.x.

What should I edit to change this minimum (let's say, to 3 characters) in VM2.x?

Thank you in advance.