Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 10 months ago.

Assisted by: Bobby.

Author Posts
December 6, 2023 at 12:12 pm #15007259

dan-alexandruI

I am trying to: I am using WooCommerce Multilingual & Multicurrency to have 2 currencies on my noke.ro website - lei and euro.

Link to a page where the issue can be seen: noke.ro

I expected to see: When I place an order in euro, when I change the order status to complete or canceled for example, the values for the products and shipping change from 25 euro for example to values in the millions range. For orders in the default currency lei everything is ok when changing status

I tried changing the theme I am using Woodmart to the default wordpress theme and also disabling every plugin and snippet used until I was left with only woocommerce, wpml and the multicurrency wpml plugin, and the error still persisted.

A urgent response would be greatly appreciated, as the website launch deadline is the end of this week.

Best regards,
Dan

Screenshot 2023-12-06 at 14-02-32 Setări WooCommerce ‹ Noke — WordPress.png
Screenshot 2023-12-06 at 14-02-15 Edit Snippet ‹ Noke — WordPress.png
Screenshot 2023-12-06 at 14-02-09 Edit Snippet ‹ Noke — WordPress.png
Screenshot 2023-12-06 at 14-02-02 Edit Snippet ‹ Noke — WordPress.png
Screenshot 2023-12-06 at 14-01-46 WooCommerce Multilingual & Multicurrency ‹ Noke — WordPress.png
Screenshot 2023-12-06 at 14-01-30 Editează comanda nr. 1541 ‹ Noke – WordPress.png
December 6, 2023 at 9:32 pm #15012455

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi Dan,

There is a known issue our team is working on resolving that would cause this behavior.

A quick manual workaround is to click on "re calculate", OR if "re calculate" option does not show, is to Click on the pencil increase to qty 2, save, edit again down to qty 1, and save, the discount is removed and shows OK.

-----------------

Also, please try the following workaround and let me know your results:

In the file: wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-orders.php

go to line

if ( 'total' === $key
                     && ( $item->get_total() !== $item->get_subtotal() || $this->total_is_changed( $item ) )
                ) {

Remove or comment out

|| $this->total_is_changed( $item )

NOTE: Always have a recent and working backup before making any changes recommended by our team or a 3rd party

Screen Shot 2023-12-06 at 1.19.27 PM.png
Screen Shot 2023-12-06 at 1.19.10 PM.png

The topic ‘[Closed] Orders placed in alternative currency have their prices changed’ is closed to new replies.