Home Forums WoodMart support forum Filter widget missing in secondary language despite WPML setup

Filter widget missing in secondary language despite WPML setup

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #688399

    MO
    Participant

    Hello 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 zero

    4. 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!

    #688400

    MO
    Participant

    Additional 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.

    #688405

    MO
    Participant

    I 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.

    #688463

    MO
    Participant

    Update: Latest versions for both Woo and Woodmart

    #688652

    Hung Pham
    Participant

    Hi MO,

    Thanks for reaching to us and appreciate your patience.

    Admin details are incorrect, please double check.

    Regards,
    Hung PD

    #688687

    MO
    Participant

    For 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.

    #688747

    Hung Pham
    Participant

    Hi 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

Viewing 7 posts - 1 through 7 (of 7 total)