WPML

問題の概要

WPMLとWooCommerce Wholesale Prices Premiumを使用している場合、卸売顧客のみに表示される商品が、翻訳されたページでは全員に表示されます。また、翻訳された商品では、数量ベースの割引や最小注文数量も失われます。

回避策

  1. WPML設定カスタム XML 設定を開き、以下のXMLを追加して保存します。
    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. 商品の翻訳を更新します。
  3. 他の卸売ロールを使用している場合は、各ロールに同じ<role>_wholesale_minimum_order_quantityエントリを追加します。

すべての既知の問題

この問題についてサポートが必要な場合

サポートのご質問をお寄せください。一緒に調査いたします。