Skip Navigation

[Resolved] autocomplete for relevanssi doesn't work – maybe product isn't public?

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.14 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Ido Angel 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1098749

hey,
auto complete works for me on another site with toolset, but here it doesn't.
on the site where it works (hidden link), the input search field has an "autocomplete=off" in it.
on the site where it doesn't work (hidden link), the search input doesn't have it.
I was thinking maybe it has to do something with the product post type not showing under toolset=>post types?
or anything else?
thanks!
ido

#1099340
autocomplete1.JPG

Dear ido,

I have tried the URL you mentioned above:
hidden link

It works fine, the autocomplete is disabled, see screenshot:
autocomplete1.JPG

Please let me know if you still need assistance for it. thanks

#1099346

hey Luo,
thanks 🙂
how do i turn it on?

#1099431

There isn't such a built-in feature within Views plugin, but you can change the output with filter hook "wpv_filter_start_filter_form", for example:

add_filter( 'wpv_filter_start_filter_form', function($out, $view_settings, $view_id, $is_required){
	if($view_id == 123){ // replace 123 with your view's ID
		$out = str_replace('autocomplete="off"', 'autocomplete="on"', $out);
	}
	return $out;
}, 10, 4);
#1099437

thanks luo!
i'll try that 🙂
ido