PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Return number of search results

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I'd like to know if there's a way when you complete a search, you can get info on the number of results that came back. Like let's say you search for"guitars". Can something appear that says"Your search returned 56 results" or something like that?

Hello

You can try  tghis  shortsode - https://products-filter.com/shortcode/woof_found_count  - This shortcode shows the current amount of products in the search

That's pretty cool. It works and thank you for that, but it's just the integer. No text like"Your search returned...". How would you suggest I incorporate that to appear but only when results come back from a completed search?

I should mention this code is being used in a single product template from Elementor Pro.

Hello

Unfortunately the plugin does not have this feature.

But you can customize the plugin code(file - wp-content\plugins\woocommerce-products-filter\views\shortcodes\woof_found_count.php)

 

Good point. But it there a function to change the code within a child theme like you do with WooCommerce or similar plugins?

Hello

Unfortunately there is no such option for this shortcode

But you can create a custom shortcode and use the code from this file - https://share.pluginus.net/image/i20230307114700.png

So I tried your shortcode and must have done something wrong.

I basically duplicated woof_found_count and resaved that as woof_found_count_results so the shortcode, I assume would be [woof_found_count_results] but that's all I now see instead of result counts, I see shortcode.

Hello

Are you sure you registered the new shortcode correctly?