Skip Navigation

Open

Reported for: WooCommerce Multilingual 4.12.0

Overview of the issue

WooCommerce allows you to choose how to handle taxes with your prices. You can either enter them to be inclusive or exclusive of taxes.

However, if you have set up several currencies with WooCommerce Multilingual and you are using the option Yes, I will enter prices inclusive of tax at WooCommerceSettingsTax options, orders created manually (directly in the admin) will display prices with the right currency but always using the amount of the default currency.

Workaround

Our developers are already aware of this situation and it will be fixed in our next release. However, you can use the following workaround in the meantime:

  1. Please, be sure to make a full backup of your site before proceeding.
  2. Open /woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-orders.php
  3. Look for line 343.
  4. Replace:
    				if ( ('total' === $key
    				      && $item->get_total() !== $item->get_subtotal()
    				     )
    				     || $this->total_is_changed( $item )
    				) {
    
  5. With:
    				if ( 'total' === $key && $item->get_total() !== $item->get_subtotal() ) {
    

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>