You are here:  » Search button behavior

Active Forum Topics

Search button behavior

Submitted by D.Tzortzis on Thu, 2015-06-11 07:08 in


I need a litle modification about the search product form.
I use 15/01A with Search form auto complete + uCompare theme, in this time if the search input is blank and press the search button is redirect you into the follow url:

I need when you press the button with blank input area to refresh the page.

Dimitrios Tzortzis.

Submitted by support on Thu, 2015-06-11 07:54

Hello Dimitrios,

Sure - in search.php, look for the following code around line 418:


...and REPLACE with:

  if (!$q)
    header("Location: ".$config_baseHREF);