WPML
Status
Resolved
Reported for
WPML Multilingual & Multicurrency for WooCommerce 5.4.0
Resolved in
WooCommerce Multilingual & Multicurrency 5.5.0
Related plugin/theme
B2B for WooCommerce

Overview of the issue

When using B2B for WooCommerce and WPML Multilingual & Multicurrency for WooCommerce (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 );
            

All known issues →