- This topic has 1 reply, 2 voices, and was last updated 5 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Product finder
It would require custom coding in the template for the page, around the part that shows the results loop.
Something like this in PHP (this example assumes you are using our Shortcode method, which in turn uses a template named results.php):
global $searchandfilter;
$sf_current_query = $searchandfilter->get(1234)->current_query();
if ((!$sf_current_query->is_filtered())&&($sf_current_query->get_search_term()=="")) {
echo '<div>Nothing to see here folks!</div>';
} else {
// the current products output code here
}
The ID number must match that of your form. My message line would simply not be there at all.
Note, if you are using a page builder, this method may not be possible.