Skip Navigation

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.

This topic contains 7 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 1 month ago.

Assisted by: Osama Mersal.

Author Posts
October 16, 2023 at 2:34 pm #14586083

michelv-44

I am trying to:
Get Filter Everything to work with Product categories in four different languages. I know that Filter Everything isn't on your compatibility list, but I've read that it should work fine.

What I have done:
I have installed WooCommerce, Elementor, Filter Everything, and WPML. The basic language of the site is Dutch. I created an Elementor template for the product overview and translated it into all the languages. I also translated all the categories, products, and attributes with unique names. I added a filter position to the template and created seven different filters (main categories) in four separate languages. These are separate filters, not translations. I used the same settings for all the filters, with only the language and category being different. All the filters show up, and everything is translated, except for the Sorting and Clear Chips button.

I expected to see:
I expected to see all the filters with the correct values on every category page. However, I don't see the results when I click the filters in three out of the four languages.

Instead, I got:
The Dutch filter works like a charm. I can filter by Color, Material, Style, Fitment, Chest pocket, and Fabric type. The URL changes, and all the filters I select are shown in the Chips.

The English filter works partially. I can select Color, Material, and Style, but I can't select the rest of the options. The URL changes with all the values, but when I check the box, the values are not added to the Chips. However, here is the strange part: when I select a color first, I can filter everything, including the filter values that weren't working before, if I selected these as the first option. In nthis situation all the values get added to the Chips as well.

The German and French filters have similar behavior but less filter options work than the English version.

I've already tried:

- Checking all the product translations
- Checking all the attribute translations
- Clearing different forms of cache
- Translating filters
- Rebuilding filters
- Retranslating every attribute
- Rebuilding variants
- Using "?reset_filters_cache=true"
- Any ideas on what I should/can do?

Kind regards,

Michel

October 17, 2023 at 7:39 am #14590529

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please login to this sandbox site and install the "Filter Everything PRO" plugin. (hidden link)

Please create filters to replicate the issue. If the issue is replicable, please let me know how to reproduce it to consult our compatibility team.

Best regards,
Osama

October 17, 2023 at 2:14 pm #14595281

michelv-44

Hi Osama,

Thank you for the sandbox. I installed filter everything Pro, elementor and rebuild a small test. In this test I could not replicate my problem.

My site is more complex then the test I made in the the sandbox. And I now still have the problem. Is there a way to rebuild the connections between all the attributes in all languages?

Kind regards,

Michel

October 17, 2023 at 2:21 pm #14595369

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Michel,

1) Could you please check if the issue persists in a minimal environment by following these steps?

1- Deactivate all the plugins except the active ones on the sandbox.
2- Switch to a WordPress default theme like Twenty Twenty-one.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

2) I'm not sure I understand your question correctly. Is there a way to rebuild the connections between all the attributes in all languages?

If you mean to reset the translated attributes, you can delete all translated attributes and re-translate them.

Best regards,
Osama

October 17, 2023 at 3:18 pm #14596035

michelv-44

Hi Osama,

I already disabled all the plugins, all but needed. Changed to the default template. No results and the strange issue remains.

For example:

FlipFlops can be filtered on shoe size. Dutch, no problem. English, no problem. French an german, NO filter effect. Url changes accordingly, but no result in the filter and no Chips.

The filters Are Identical in settings, de template is a translation.

I trashed the german and french translations of the flipflops and then translated them again. No results.

I don't know what the next step should be.

October 17, 2023 at 3:21 pm #14596043

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please let me know how to reproduce the issue on your site.

Also, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

October 18, 2023 at 7:23 am #14599509

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I'll install a local copy of your site to debug the issue and escalate it to our 2nd tier support team if needed.

Best regards,
Osama

October 18, 2023 at 12:04 pm #14603815

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I installed a local copy of your site and found that the filters work correctly when deleting the translation for the "wpc_filter_permalinks". (Kindly check the attached screenshot)

To test, I deleted those translations from your site, and the filters work as expected. Please check if the filter works correctly. (hidden link)

Best regards,
Osama

2023-10-18_15-02-04.jpg
October 18, 2023 at 12:18 pm #14603975

michelv-44

Yes, this has solved the problem! Thank you! I'll close the ticket!