WPML

Overview of the Issue

When using WooCommerce Wholesale Prices Premium with WPML, a product that only wholesale customers can see is visible to everyone on its translated page. The translated product also loses its quantity based discounts and its minimum order quantity.

Workaround

  1. Go to WPMLSettingsCustom XML Configuration, add the following XML and save:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">wwpp_product_wholesale_visibility_filter</custom-field>
        <custom-field action="copy">wwpp_post_meta_enable_quantity_discount_rule</custom-field>
        <custom-field action="copy">wwpp_post_meta_quantity_discount_rule_mapping</custom-field>
        <custom-field action="copy">wholesale_customer_wholesale_minimum_order_quantity</custom-field>
      </custom-fields>
    </wpml-config>
  2. Update the translations of the products.
  3. If you use other wholesale roles, add the same <role>_wholesale_minimum_order_quantity entry for each role.

All known issues

Need Help with This Issue?

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