Skip Navigation

[Resolved] Set up product search bar

This support ticket is created 4 years, 7 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.

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 2 replies, has 2 voices.

Last updated by jamesW-26 4 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1665933
search bar.jpg

Tell us what you are trying to do?
Set up a product search facility for the header of the site which displays products instantly without going to a "search page". See attached image of another site that does this.

Is there any documentation that you are following?
I can't find any in the Toolset Documentation on how to do this. Not sure if Toolset has the ability to do it.

Is there a similar example that we can see?
See attached.

What is the link to your site?
hidden link

#1666123

Hello,

There isn't such kind of built-in feature within Toolset, you might try other plugins, for example: Relevanssi
https://wordpress.org/plugins/relevanssi/

In the description of above URL, section "ADVANCED FEATURES", there is a feature:

Google-style “Did you mean?” suggestions based on successful user searches.

And here is a document about "Searching Texts in Custom Fields with Views and Relevanssi":
https://toolset.com/documentation/user-guides/views/searching-texts-custom-fields-views-relevanssi/

For your reference.

#1669177

Thanks Luo,

I had a look at Relevanssi and unfortunately it can't do the live ajax search dispay. However I did end up finding this plugin which does exactly what we need.

https://wordpress.org/plugins/ajax-search-for-woocommerce/

Cheers,
James