Reply To: Behavior for product and categories

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Behavior for product and categories Reply To: Behavior for product and categories

Ernest Marcinko
Ernest Marcinko


“I just want to list all products inside some category or subcategory, not to show category by name.”
If you want only product results, but not the product categories as results, then make sure everything is disabled on the General Options -> Sources 2 panel:

To include items from a specific sub-category, you can use the include option on the Advnaced Options -> Exclude reuslts panel:

“It is possible to list products through autocomplete, but not on return key behaviour.”
If you mean like not triggering the ajax search on hitting the return key, you can configure that on the General Options -> Behavior panel:

Don’t get what are “param1” => “value1” for. Could I set anything there?
This is when you have redirection activated when hitting the return button or the magnifier icon. This code allows you to pass additional query (GET) parameters if you need it. It’s mostly for developers use. In the example the $value array is set as following:

$values = array(
    "param1" => "value1",
    "param2" => "value2",
    "param3" => "value3"

This will result in a redirection from this:


I do not recommend using that, unless you have a reason to do so.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)