Open
Reported for: WooCommerce Multilingual & Multicurrency 5.3.2
Overview of the issue
When accessing WooCommerce > Analytics > Categories, the same category is displayed multiple times depending on the number of site languages and orders.
Workaround
Please, make sure of having a full backup of your site before proceeding.
- Open …/wp-content/plugins/woocommerce-multilingual/classes/Reports/Categories/Query.php file.
- Look for line 40.
- Change:
} )->toArray();
- For:
} )->unique('category_id', true)->toArray();
Note: keep in mind that this workaround will eliminate duplicated categories in the Analytics page. However, the order count may not align with the total number of items ordered.