Open
Reported for: WooCommerce Multilingual & Multicurrency 5.4.0
Overview of the issue
When using B2B for WooCommerce and WooCommerce Multilingual (WCML) with the multicurrency feature enabled, adding a product to an existing order in the admin panel causes the newly added item to be removed immediately after saving.
Workaround
Please, make sure of having a full site backup of your site before proceeding.
- Open the …/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-orders.php file.
- Look for line 253.
- Replace:
$order->remove_item( $itemId );
- With:
//$order->remove_item( $itemId );
I just made the change to the requested file and afterwards tested on my live site and it seems that the function is working again 🙂
So problem is fixed, thanks a lot!
However wouldn’t this change be overwritten when updating the plugin next time?
Hi Marc,
Great to hear the issue has been resolved! The fix will be included in the next release, and we’ll make sure to keep this page updated.