- Status
- Resolved
- Reported for
- WPML Multilingual & Multicurrency for WooCommerce 4.10.4
- Resolved in
- 4.12.0
Overview of the issue
If you create a manual order that includes a bundled product using the WooCommerce Bundled Products plugin, the prices for the bundled products are the real product prices and are added on top of the prices of the bundle product.
Workaround
Our developers are working on fixing this, in the meantime:
- Make a full backup of your site.
- Edit the file wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-orders.php.
- Find the line 337.
- Replace:
foreach ( array_keys( $converted_totals ) as $key ) { if ( 'total' === $key && $item->get_total() !== $item->get_subtotal() ) { - With:
foreach ( array_keys( $converted_totals ) as $key ) { if ( ! $item->get_total() ) { continue; } if ( 'total' === $key && $item->get_total() !== $item->get_subtotal() ) {