WPML

Overview of the Issue

When using WooCommerce Fast Cart with WPML, the “Button text” setting of the cart button and the text of a [fast_cart text="..."] button stay in the default language on translated pages.

Workaround

  1. Go to WPMLSettingsCustom XML Configuration, add the following XML and save:
    XML
    <wpml-config>
      <shortcodes>
        <shortcode>
          <tag>fast_cart</tag>
          <attributes>
            <attribute>text</attribute>
          </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
  2. Add the cart button to your pages with the [fast_cart text="..."] shortcode, and translate the pages. The button text then translates with the page.
  3. The “Button text” setting has no workaround at the moment.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.