דלג על ניווט

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 תגובות אל “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

השאר מענה

אנא הישארו בנושא והיו מכבדים לאחרים. אם אתה צריך עזרה בבעיות שאינן קשורות לפוסט הזה, השתמש בפורום התמיכה שלנו כדי להתחיל צ'אט או לשלוח כרטיס.

תוכל להשתמש בתגים הבאים:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>