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

Product attributes filters not visible when active

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,

The product attribute filters are visible when I don't filter by one of them when setup as multi-dropdown.

When I filter by for example, color: red, even the color filter is no longer visible with the active value to remove. (URL for demo purposes in privacy data)

Thanks and regards.

Hello

Please  disable  this  third-party plugin -  https://c2n.me/4gx0NN8.png - and  do a test

Hi Pablo,

I tried deactivating that plugin but the issue persists. I am not sure how that plugin would effect. The issue is, when I apply a taxonomy filter from a multi-dropdown it works as expected. when I apply a product attribute filter from a multi-dropdown, the multi-dropdown disappears (even the active one is not visible).

Thanks

Hello

 I am not sure how that plugin would effect. - I'll try to describe what's going on. The problem is that a third-party script sees that there is an attribute in the search query and this changes the product display template (archive page). And in this case, the filter will not be displayed on the archive page (attribute page)

Please  drop  me  FTP access- https://share.pluginus.net/image/i20210618130558.png ->  https://share.pluginus.net/image/i20210618130637.png

Can I  disable theme to test

Hi Pablo,

I understand but the issue persisted when I disabled that plugin which also happens to be crucial for our business. In the meantime, I updated the private data with FTP credentials.

You can disable theme to test but note that we are currently running with MultipleTheme plugin as we are migrating from one theme to another. Only the homepage is using the old theme and the issue on the /shop page - which is using the default theme.

Thanks.

Hello

I disabled these third party plugins - https://c2n.me/4gAr3yr.png and https://clip2net.com/s/4gAr2aH

Now everything works correctly - https://c2n.me/4gAqYSr.mp4

Perfect Brands for WooCommerce - try to use standard attributes for brands

Unfortunately, these plugins interfere with the request and change the product display template.

 

Hi Pablo,

Thank you for your investigation. We will see if we can find another way to resolve these as they are crucial plugins. Most probably because our custom plugin is loading specific products which are not handled by WOOF when generating the filters.

Is there a way where we can do apply_filter on WOOF's query when generating filters for the offers to include condition on a single custom taxonomy?

Thanks and regards.

Read  this - https://products-filter.com/hook/woof_get_tax_query

 

Hi Pablo,

I kept investigating the issue and it turned out to be the order of plugin action executions which generate new product taxonomies. I applied the following changes and WOOF is now working well with both plugins active:

Brands plugin:

from: add_action( 'woocommerce_init', array( $this, 'register_brands_taxonomy' ), 10, 0 );
to : add_action( 'init', array( $this, 'register_brands_taxonomy' ), 10, 0 );

Custom plugin:

from: add_action( 'init', array($this,'create_custom_taxonomies'), 0 );
to : add_action( 'init', array($this,'create_custom_taxonomies'), 20 );

However, I'm afraid that since this issue was encountered in 2 plugins, it must be replicated on other plugins that registers product taxonomies as well. Hence, I am kindly asking you whether you could look into the execution time of WOOF perhaps it could be updated in future releases that would resolve this issue for other unknown plugins as well.

Thanks and regards.

Hello

Yes of course we will check it out.

But in fact, Woocommerce also creates taxonomies and it works fine