WPML

ภาพรวมของปัญหา

เมื่อใช้ปลั๊กอิน YITH WooCommerce Points and Rewards Premium ร่วมกับ WPML แบนเนอร์ที่แปลแล้วจะไม่แสดงในหน้า My points และระดับของลูกค้าจะถูกซ่อนในหน้าที่แปลแล้ว การแปลจะไม่ได้รับการตั้งค่าแบนเนอร์และระดับ

วิธีแก้ปัญหาชั่วคราว

  1. ไปที่ WPMLการตั้งค่า และเปิดแท็บ การกำหนดค่า XML ที่กำหนดเอง
  2. เพิ่มโค้ดนี้แล้วบันทึก:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">_status</custom-field>
        <custom-field action="copy">_priority</custom-field>
        <custom-field action="copy">_type</custom-field>
        <custom-field action="copy">_simple_position</custom-field>
        <custom-field action="copy">_action_type</custom-field>
        <custom-field action="copy">_action_target_type</custom-field>
        <custom-field action="copy">_link_status</custom-field>
        <custom-field action="copy">_link_url</custom-field>
        <custom-field action="translate">_name</custom-field>
        <custom-field action="copy">_badge_enabled</custom-field>
        <custom-field action="copy">_level_color</custom-field>
      </custom-fields>
    </wpml-config>
  3. อัปเดตการแปลแบนเนอร์และระดับของคุณ

ปัญหาที่ทราบแล้วทั้งหมด

ต้องการความช่วยเหลือเกี่ยวกับปัญหานี้หรือไม่

ถามคำถามถึงฝ่ายสนับสนุน และเราจะตรวจสอบเรื่องนี้ไปพร้อมกับคุณ