- ステータス
- 解決済み
- 関連するプラグイン/テーマ
- YITH WooCommerce Request a Quote
- トピックタグ
- Compatibility
問題の概要
YITH Request a Quote for WooCommerce Premiumプラグインを使用している場合、「Send Quote」ボタンから顧客に送信されるメール内に未翻訳の文字列が含まれる場合があります。
回避策
続行する前に、お使いのサイトの完全なサイトバックアップを必ず作成してください。
- …/wp-content/plugins/yith-woocommerce-request-a-quote-premium/templates/emails/customer-details.phpファイルを開きます。
- 25行目を探します。
- 以下のコードを:
<h2 style="margin-top: 40px"><?php esc_html_e( 'Customer's details', 'yith-woocommerce-request-a-quote' ); ?></h2>
- 以下のコードに置き換えます:
<?php load_plugin_textdomain('yith-woocommerce-request-a-quote', false, plugin_basename(dirname(__FILE__)) . '/languages/'); ?> <h2 style="margin-top: 40px"><?php esc_html_e( 'Customer's details', 'yith-woocommerce-request-a-quote' ); ?></h2>