Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to create product filters using the WooCommerce Product Filters by Barn2 plugins for both English and Dutch pages on your site. While the Dutch page filter works fine using the shortcode

[product_filters id="1" layout="vertical"]

, the English page filter using the shortcode

[product_filters id="4" layout="vertical"]

does not work and shows a rotating loader icon without loading the filters.
Solution:
We have identified that the filters work correctly in the primary language with specific parameters in the Filter Group widget or shortcode. However, the filters are not fully compatible with WPML in the secondary language, which is a known limitation of the plugin. This issue arises particularly with attribute filters not displaying options correctly across all languages. We recommend two potential solutions:
1. Contact Barn2 to submit a feature request for full WPML integration, which could resolve this issue in a future update. You can submit your request here: https://barn2.com/support-center/plugin-feature-request/
2. Consider switching to a plugin that is already fully compatible with WPML, such as Annasta WooCommerce Product Filters. More information can be found here: https://wpml.org/plugin/annasta-woocommerce-product-filters

If this solution does not apply to your case, or if it becomes outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket with us for further assistance.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 5 replies, has 0 voices.

Last updated by mauricev-3 6 days, 14 hours ago.

Assisted by: Bruno Kos.

Author Posts
October 14, 2025 at 9:59 am

mauricev-3

Background of the issue:
I am trying to create product filters using the WooCommerce Product Filters by Barn2 plugins for both English and Dutch pages on my site hidden link. I have set up filters in two languages. For the Dutch page, I use the shortcode [product_filters id="1" layout="vertical"] and it works fine. For the English page, I use the shortcode [product_filters id="4" layout="vertical"].

Symptoms:
On the English version of the page hidden link, the filter does not work. It shows a rotating loader icon on page refresh, but nothing happens.

Questions:
Why does the filter not work on the English version of the page?
Is there a known issue with WPML affecting WooCommerce Product Filters by Barn2 plugins?

October 15, 2025 at 11:33 am #17486766

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

October 17, 2025 at 10:01 am #17493401

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Following up on the filter issue — our 2nd-tier team reviewed it and confirmed that:

* The filters work correctly on the primary language when using the Filter Group widget (or shortcode) with the following parameters:
`cache="false" filterable="true" limit="15" paginate="true"`
* The Product List block should have “Use current query” enabled.

However, the filters are not fully compatible with WPML on the secondary language. This is a known limitation in the plugin itself — certain filters (like attribute filters) may not display options correctly across all languages.

Because this requires redevelopment on the plugin’s side (hidden link), we recommend submitting a feature request directly to Barn2 so they can consider adding full WPML integration in a future update:
hidden link

Alternatively, you may switch to a plugin that’s already fully compatible with WPML, such as Annasta WooCommerce Product Filters:
https://wpml.org/plugin/annasta-woocommerce-product-filters

October 19, 2025 at 10:13 pm #17497297

mauricev-3

Any updates on this?

October 19, 2025 at 10:17 pm #17497299

mauricev-3

The provided information is incorrect:
“Because this requires redevelopment on the plugin’s side (hidden link

I don’t want to translate the filters! I simply want the filters to work on both the Dutch and English (WPML) page.

Please check again why the filters are not showing when using WPML.

October 20, 2025 at 6:00 am #17497516

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I reproduced the issue in the clean setup here:
hidden link

Our Compatibility team is checking this further and will keep you posted! Yes, I did not mean the translation of the filter, but only to show in both languages.

October 20, 2025 at 9:29 am #17498681

mauricev-3

I understand now that this plugin will not work with WPML. Even on your clean setup. I'll use another plugin for filtering. Thanks!