탐색 건너뛰기

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using YITH WooCommerce Badge Management Premium, badges assigned to products do not display on their translated versions. This issue arises because certain metadata required for badge display is not copied or synced to the translated products.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

1. Add Custom XML Configuration

  • Go to WPML > Settings > Custom XML Configuration
  • Paste the following code and click “Save”
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">_yith_wcbm_badge_from_date</custom-field>
        <custom-field action="copy">_yith_wcbm_badge_ids</custom-field>
        <custom-field action="copy">_yith_wcbm_badge_schedule</custom-field>
        <custom-field action="copy">_yith_wcbm_badge_to_date</custom-field>
      </custom-fields>
    </wpml-config>
    

2. Set Badge Post Type to “Not Translatable”

  • Go to WPML > Settings > Post Types Translation
  • Locate Badges (yith-wcbm-badge) and set it to Not translatable

3. Translate Badge Text

  • Go to WPML > String Translation
  • Locate the badge text under the yith-woocommerce-badges-management domain and translate it.

답장을 남겨주세요

주제를 유지하고 다른 사람을 존중하십시오. 이 게시물과 관련 없는 문제에 대한 도움이 필요한 경우 지원 포럼을 사용하여 채팅을 시작하거나 티켓을 제출하십시오.

다음 태그를 사용할 수 있습니다.
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>