WPML
Status
Resolved by author
Resolved in
Woodmart 8.5.2
Related plugin/theme
Woodmart
Topic tags
Compatibility

Overview of the issue

When using Woodmart with WPML, you might experience that the swatch style option for product attributes is not copied to translated products. As a result, attributes may display differently between languages, such as showing as a dropdown in the default language and inline in the translation.

Workaround


  • Go to WPML > Settings > Custom XML Configuration in your WordPress dashboard.

  • Add the following XML configuration and save:
     
    <wpml-config>
        <custom-fields>
            <custom-field action="copy" label="Swatches Attribute">_woodmart_swatches_attribute</custom-field>
        </custom-fields>
        <custom-term-fields>
            <custom-term-field action="copy" label="Swatches Dropdown">not_dropdown</custom-term-field>
        </custom-term-fields>
    </wpml-config>

All known issues →