WPML

问题概述

将Product Page Shipping Calculator for WooCommerce与 WPML 结合使用时,产品的“Disable shipping cost”选项在翻译后会丢失,因此翻译后的产品会显示该计算器。此外,“When no product variation is selected”标签无法翻译。

临时解决方法

  1. 前往 WPML设置自定义 XML 配置,添加以下 XML 并保存:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">pisol_disable_shipping_calculator</custom-field>
      </custom-fields>
      <admin-texts>
        <key name="pi_ppscw_select_variation_msg" />
      </admin-texts>
    </wpml-config>
  2. 在 WPML字符串翻译中翻译“When no product variation is selected”标签。
  3. 再次翻译产品。

所有已知问题

需要有关此问题的帮助?

提出支持问题,我们将与您一起调查。