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

Filter categories

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.

Hi Pablo,

Can you please help me how can I exclude only the product categories from the dynamic count?

Thanks

Hello

In this case you will need code customization

What plugin version number are you using?

what type of filter (checkbox, radio, drop-down ext.)?

It's great to hear that a solution is possible. :)

My version is 3.3.5.3 (premium, of course).

Standard filter type: radio button.

I appreciate your help, Pablo!

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

try in file - wp-content\plugins\woocommerce-products-filter\views\html_types\radio.php  add  this code - https://share.pluginus.net/image/i20240315131452.png

if ("product_cat" == $tax_slug) {
$show_count_dynamic = 0;
}

 

Thank you for the quick response, Pablo.

I have inserted the code snippet, but unfortunately, it works only partially. I've made a short video, which I hope will be helpful.

https://www.youtube.com/watch?v=xod7gmZ4hvo

Hello

On the category(taxonomy) page, the filter shows only child categories(taxonomies)

This is a very logical behavior. On the category page, you can show ONLY products that belong to the category OR child category. It makes sense to show only child categories( of the current category ), because clicking on any other category will always give zero products )

Yes, absolutely. That seems logical to us, but as you know, clients can have different perspectives. 😊

I've resolved the issue according to the client's requirements, so everything is in order now. :)

I have one more question, and then I won't trouble you any further, Pablo.

Is it possible to remove"product_cat" from the slug/URL? For example, can we change"/product_cat-gooddrive-gd270-series/" to"/gooddrive-gd270-series/"? Alternatively, could we replace the underscore"_" with a hyphen"-", since underscores are not SEO-friendly?

unfortunately no. This is the category slug for which the search is performed.

No worries, thanks for the help Pablo, I appreciate it.

How to disable some system extensions, like, for example, filter by the author?

https://prnt.sc/mTNysJ4NYNpH

I want to speed up the filter, but no luck yet (tried all suggestions from the forum).

Hello

You can  get  slugs  here - https://share.pluginus.net/image/i20240319104214.png and paste  this slug (without square brackets) into this field  - https://share.pluginus.net/image/i20240319104531.png

Sorry, the first image is emtpy

try  this  link, please  - https://share.pluginus.net/image/i20240319104214.png

Did you mean these?

https://prnt.sc/sGkz8xAJ0BTu

(those are not working when I insert them into the mentioned field)

Hello

Ok! Please drop me wp-admin access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it