Skip Navigation

[Resolved] Product search return gin no results

This support ticket is created 4 years, 10 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by JamesS2731 4 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1627385

Tell us what you are trying to do? Add a product search with separate results page - hidden link

It did work but for some reason is now showing no results. The sub category pages that have inline searches work fine - hidden link

I have been through with a fine tooth comb but cant find the reason why.

I've also set up a new single page search to double check the settings - hidden link - and although you can initially see the products below the search bar, once you search (even for something that is already displayed) it returns no results.

I did have Relevanssi turned on which I thought might be an issue but turning it off doesn't help.

Is there any documentation that you are following? - https://toolset.com/documentation/user-guides/views/filtering-views-for-a-specific-text-string-search/

Is there a similar example that we can see?

What is the link to your site? hidden link

As always, any thoughts or ideas most welcomed!

Kind regards
James

#1628905

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I need to check how you setup your view and for that I will require the access details to troubleshoot the issue further.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1630279

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

First of all - After checking to plugins page once I login to your site, I found that you are using outdated Toolset plugins. We always recommend running your site with the latest stable release plugin version.

*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/

I can see it's not working as expected and when you run a text search the query is fired on member post type rather product.
=> hidden link

The view you created is set to query the product post type:
=> hidden link

It looks like there is plugin or theme that overrides the view's query. In order to minimize the cause of the issue:
--
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes? - Can you please check with the default theme and only Toolset plugins active?

#1634311

Many thanks Minesh, I deactivated everything and finally tracked the conflict to a code snippet we'd added to the functions file. Should've looked there first!

Many thanks for your help.