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

Dynamic recount showing wrong numbers

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,

I am having difficulties with the dynamic recount. It is not removing all the filters that are not available. Can you please have a  look.

Thanks a lot in advance!

Hello

In fact, this product has such an attribute. The filter works with these attributes - https://c2n.me/43rcC1F.png

Another thing if it is not in stock.  Use  extension - https://c2n.me/43rcstn.png

Hi,

 

Thanks for the reply.

I am in a situation in which I am using"Show single variations" to be able to filter single product variations. Since the plugin works with attributes, it is showing impossible variations. I am wondering whether it is possible to filter based on taxonomies that are unique to product variations. This way the filter won't allow combinations of variations that are impossible to be filtered.

Thank you very much!

Best regards,

M

Hello

Your access - https://c2n.me/43GCndz.png

Yes! Try  create  custom hierarchical taxonomy   and  use hierarchical filter.

Thanks for the reply!

I tried but wasn't able to create a working hierarchical taxonomy for the product variants.

Sorry for the wrong access credentials, they work now and you can access wp-admin.

Best regards,

M

Hi again,

So basically when turning Dynamic recount on, the count drops to zero (in the example"lengths1"). When it's off, it works.

Best regards,

M

Hello

Try  to  check  this  taxonomies - https://c2n.me/43J0qio.png - It gives zero products.

Hi,

Thanks for the reply.

The taxonomy is for product variants. If you look from here - https://ibb.co/KGr4Scf, it shows products. The filter works otherwise with the taxonomy but not when dynamic recount is on.

Best regards,

M

Hello

 If you look from here - Yes!  But if you click on this number, it will not show products.  Something is not correct in the database.  I think this is incompatible with a third-party plugin"Show single variations"

Hi,

How unfortunate. Is there any way to fix this? I don't understand how the filter can work without Dynamic Recount but not when it's on.

Best regards,

M

Hello

Try  in  file - \wp-content\plugins\woocommerce-products-filter\index.php - change  this line -  https://c2n.me/43MEdhM.png

to :

'post_type' => array('product', 'product_variation'),

Do test please

Thank you so much, that works perfectly! That was a big help.

One final question; is there any way to pre-select filters on pages by any other way than adding the filter to the URL. For example by adding the pre-selected filters to the [woof] shortcode so different pages could have different pre-selected filters?

Thank you for very good support!

Best regards,

M

Hello

Yes but in this case the user cannot cancel this choice. ( attribute taxonomies ) - https://products-filter.com/shortcode/woof/