Support » Plugin: qTranslate X » Error displaying woocommerce products’ titles with widgets

  • Hello dears
    woocommerce widgets displays products titles like [:en]product name [:ar]اسم المنتج[:]

    How to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is hardly ideal, but you could change code in the latest woocommerce version. Release of woocommerce 3.x broke some things. In any case change in:

    plugins/woocommerce/templates/content-widget-product.php line 29

    <?php echo $product->get_name(); ?>
    to
    <?php _e($product->get_name(), 'woocommerce'); ?>

    This template can be overridden by copying it to yourtheme/woocommerce/content-widget-product.php.

    Thx a lot! it works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error displaying woocommerce products’ titles with widgets’ is closed to new replies.