Home › Forums › WoodMart support forum › Filter widget missing in secondary language despite WPML setup
Filter widget missing in secondary language despite WPML setup
- This topic has 6 replies, 2 voices, and was last updated 2 weeks, 3 days ago by
Hung Pham.
-
AuthorPosts
-
September 27, 2025 at 3:46 pm #688399
MOParticipantHello Team,
I’m running WoodMart 7.5.1 with WooCommerce 6.5.5 and WPML/WCML to serve both English (default) and Arabic versions of my shop. In English the Layered Nav (attribute filter) widget works perfectly, but in Arabic the color and size filters disappear (the widget shows zero counts). On single product pages, the attributes show correctly; only the shop/category sidebar filters are blank.
What I’ve tried:
1. Checked attribute translation settings. In WPML → Settings → Taxonomies translation, I set pa_color and pa_size to “Translatable – use translation if available or fallback to default language” and ensured each term has an Arabic translation.
2. Duplicated products and attributes. I duplicated products into Arabic via WPML → Translation Dashboard so that attributes are copied and synced.
3. Disabled the new WooCommerce attribute lookup table. According to WPML’s errata, WooCommerce 6.3 introduced a lookup table that only populates for the default language. I went to WooCommerce → Settings → Products → Advanced and unchecked “Enable table usage”
I also regenerated the lookup table from WooCommerce → Status → Tools, but the Arabic counts remain zero4. Ran WPML troubleshooting tools. I used WPML → Support → Troubleshooting to synchronize post taxonomies, sync attributes and variations, fix product terms count, and set language information. It didn’t resolve the zero-count issue.
5. Cleared all caches (WooCommerce transients, theme cache, server cache) after each change.
6. Verified alternative plugin. When I replace WoodMart’s widget with the “Filter Everything – WordPress/WooCommerce Product Filter” plugin, Arabic filters work fine. This suggests the data exists but the WoodMart widget (or its integration with WPML) isn’t picking it up.
Based on WPML documentation, the root cause seems to be WooCommerce’s attribute lookup table not populating for secondary languages
Disabling it should force WooCommerce to use taxonomy queries, but WoodMart’s widget still doesn’t show the translated terms. Filter Everything bypasses this by building its own queries.
Could you please advise if there is a theme fix or compatibility patch to make the WoodMart layered-nav widget respect translated attribute counts? Any guidance or custom snippet would be appreciated.
Thank you!
September 27, 2025 at 4:05 pm #688400
MOParticipantAdditional observation: The size filter displays as a dropdown in Arabic, whereas it shows as a list of swatches in English. That UI difference might be another symptom of the translation/count issue.
September 27, 2025 at 7:08 pm #688405
MOParticipantI also noticed that there’s no synchronisation between the theme settings in the second language. For example, when checking the cart or checkout pages, the sidebar appears in the Arabic version, but not in the English version.
September 28, 2025 at 11:42 pm #688463
MOParticipantUpdate: Latest versions for both Woo and Woodmart
September 30, 2025 at 8:21 am #688652
Hung PhamParticipantHi MO,
Thanks for reaching to us and appreciate your patience.
Admin details are incorrect, please double check.
Regards,
Hung PDSeptember 30, 2025 at 10:34 am #688687
MOParticipantFor some reason, the sizes are now displaying correctly, but the color attribute is still not showing. I’ve created a new admin user for you.
September 30, 2025 at 2:59 pm #688747
Hung PhamParticipantHi MO,
Thanks for details.
I updated original products, and it worked again. You can read more here https://wpml.org/forums/topic/how-can-i-translate-product-attributes/
Regards,
Hung PD -
AuthorPosts
- You must be logged in to create new topics. Login / Register