تخطي الملاحة

Open

Topic Tags: Compatibility

Overview of the issue

If you are using the the YITH Request a Quote for WooCommerce Premium plugin, you may encounter untranslated strings within the email sent to customers through the Send Quote button.

Workaround

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

  • Open …/wp-content/plugins/yith-woocommerce-request-a-quote-premium/templates/emails/customer-details.php file.
  • Look for line 25.
  • Replace:
    <h2 style="margin-top: 40px"><?php esc_html_e( 'Customer's details', 'yith-woocommerce-request-a-quote' ); ?></h2>
    
  • With:
    <?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>
    

ترك رد

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

يمكنك استخدام هذه العلامات:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>