How to disable the ENTER/RETURN key?

The solution is to lock the enter/return key, preventing the user from submitting a query and receiving a results page.

Here is a piece of code that does the trick. This filter works with FiboSearch v1.9.1 and higher.

add_filter( 'dgwt/wcas/scripts/disable_submit', '__return_true' );

Learn how to add this snippet to your WordPress.

If users can’t submit the search form, they shouldn’t have the “See all products” link either.

The following CSS code hides this button.

 .dgwt-wcas-suggestion-more {
 	display: none;
 }

Learn how to add custom CSS to your WordPress.

The following CSS code hides this button.