WPML
ステータス
開発者により解決済み
解決されたバージョン
Woodmart 8.5.2
関連するプラグイン/テーマ
Woodmart
トピックタグ
Compatibility

問題の概要

WPMLでWoodmartを使用すると、商品属性のスウォッチスタイルオプションが翻訳された商品にコピーされない場合があります。その結果、デフォルト言語ではドロップダウンとして表示され、翻訳ではインラインで表示されるなど、言語間で属性の表示が異なる場合があります。

回避策


  • WordPressダッシュボードでWPML > 設定 > カスタム XML 設定に移動します。

  • 次のXML設定を追加して保存します。
     
    <wpml-config>
        <custom-fields>
            <custom-field action="copy" label="Swatches Attribute">_woodmart_swatches_attribute</custom-field>
        </custom-fields>
        <custom-term-fields>
            <custom-term-field action="copy" label="Swatches Dropdown">not_dropdown</custom-term-field>
        </custom-term-fields>
    </wpml-config>

すべての既知の問題 →