跳到内容 跳到侧边栏

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using Kadence Shop Kit with WPML, you might experience the following issue: product variation gallery images are not displayed on translated product pages. Only the main variation image is shown, while additional gallery images for each variation are missing.

Workaround

  • Go to WPML > Settings > Custom XML Configuration in your WordPress dashboard.
  • Add the following XML configuration and save:
    <wpml-config>
      <custom-fields>
        <custom-field action="copy" type="post-ids" sub-type="attachment">_kt_extra_variation_img_ids</custom-field>
      </custom-fields>
    </wpml-config>
            
  • Resave your products.

发表回复

保持话题相关并尊重他人。如果您需要与此帖子无关的问题帮助,请使用我们的支持论坛开始聊天或提交工单。

您可以使用这些标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>