WPML

Overview of the Issue

When using WooCommerce Wholesale Prices with WPML, you might experience the following issues: a wholesale customer pays the retail price on a translated product, and the wholesale price title and the “See wholesale prices” text stay in English.

Workaround

Go to WPMLSettings and add the following to the Custom XML Configuration:

XML
<wpml-config>
  <custom-fields>
    <custom-field action="copy">wholesale_customer_wholesale_price</custom-field>
    <custom-field action="copy">wholesale_customer_have_wholesale_price</custom-field>
  </custom-fields>
  <admin-texts>
    <key name="wwpp_settings_wholesale_price_title_text"/>
    <key name="wwp_see_wholesale_prices_replacement_text"/>
  </admin-texts>
</wpml-config>

If you use other wholesale roles, add the same two custom-field lines for each role (with the role name instead of wholesale_customer). Then update the product translations, and translate the texts in WPMLString Translation. After an update from a version older than 2.2.3, save the plugin settings once.

All known issues

Need Help with This Issue?

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