Skip Navigation

Open

Reported for: WooCommerce Multilingual & Multicurrency 5.3.9

Topic Tags: WCML

Overview of the issue

When using WooCommerce Multilingual with a multivendor plugin as YITH WooCommerce Multi Vendor, the WooCommerce > Orders admin page experiences excessive database queries, resulting in extremely slow performance or unresponsiveness as the number of orders grows.

Note: keep in mind that a similar behaviour may be noticed with other multivendor plugins.

Workaround

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

  • Open your theme’s functions.php file.
  • Add the following line:
    add_filter( 'wcml_should_translate_order_items', '__return_false');
    

2 Responses to “High Query Load on WooCommerce Orders Page When Using Multivendor Plugins”

  1. Hello there

    The workaround with the YITH Multi Vendor Plugin works as far as the reduction of DB queries is concerned, but it produces the problem that the items in the orders are no longer translated (and the vendor names are not translated either). This is of course to be expected if the filter mentioned is set to false.
    Can you provide insight into whether the issues (non translated items) are reversible, i.e. will be resolved with a release/fix, or whether the existing orders that were placed with the workaround activated will stay non-translated after the fix is implemented and the workaround is deactivated?

    And is there already an ETA on when a fix can be expected?

    Many thanks in advance!

    • Hello there,
      This issue has been escalated to our Compatibility team. However, we can’t provide you an ETA and it may probably involve working with YITH team in order to get a definitive solution.
      We will keep this erratum updated once we have any news.
      Regards

Leave a Reply

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.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>