Skip to content Skip to sidebar

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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 7 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 2 days, 2 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
November 5, 2025 at 12:54 pm

matthijsL-4

Background of the issue:
I am trying to use Multilingual & Multicurrency for WooCommerce with Barn2 WooCommerce Product Options. I noticed an issue on my staging site, which can be seen at hidden link.

Symptoms:
When I activate Multilingual & Multicurrency for WooCommerce with Barn2 WooCommerce Product Options, the prices for the options disappear after ordering. Prices are continuously added together until the customer clicks the order button, and these additional prices are not included in the order confirmation. I expected the price after ordering to include the additional options, but instead, I got the price without them.

Questions:
Why do the option prices disappear after ordering?
How can I ensure the additional option prices are included in the order confirmation?

November 6, 2025 at 9:01 am #17552628

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hey there,

Your issue was escalated and is under analysis. I'll get back to you, once I have new information, what usually takes a few days. Thank you for your patience so far.

November 9, 2025 at 2:39 pm #17560076

matthijsL-4

I still need help, (I got a message, that i needed to say this so the ticket won’t be cloded)

November 11, 2025 at 11:18 am #17565879

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Sure. Thanks. We are still checking, I'll get back to you once I have new information.

November 14, 2025 at 9:54 am #17578139

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Matthijs,

Thanks for your continued patience.

We've escalated this issue internally and also contacted the developers of the Barn2 plugins. However, since we weren’t able to reproduce the issue on a clean test site (Sandbox), the problem appears to be specific to your website’s configuration.

To move forward, we recommend that you also contact the Barn2 support team directly. Since both plugins involved are developed by Barn2 and are officially compatible with WPML, their insights will be crucial. They may request a site copy to investigate further, so we suggest sharing the package with them as well.

Let us know if you need help preparing that or if you receive any updates from their side.

Kind regards,
Lucas Vidal de Andrade

November 18, 2025 at 8:32 am #17586748

matthijsL-4

I've got a request from Barn2:

Our development team reesponded. Given the complexity of WPML, WPML’s support team have kindly agreed to support Barn2’s customers in using it to translate our plugins. That’s because they are much more familiar with WPML than we are and can make sure you have configured it correctly. If they discover that it’s a compatibility issue rather than a setup issue, then they will liaise with our developers directly to find a solution.

As a result, please could you reach out to WPML Support again and ask them what they found? They can ask anything from us if they see something unusual during their invesitgation.

November 18, 2025 at 2:10 pm #17588450

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Thank you for sharing. I've updated our development team and will keep you informed.

November 21, 2025 at 8:44 am #17597783

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello there,

Both we and Barn2's team are checking the issue. Meanwhile, we found a workaround. Please ensure to have a backup and add this code to your functions.php file:

add_action( 'woocommerce_before_checkout_process', function () {
    global $wp_filter;
    $hook_name = 'woocommerce_before_checkout_process';
    if ( empty( $wp_filter[ $hook_name ] ) ) {
        return;
    }
    $hook = $wp_filter[ $hook_name ];
    foreach ( $hook->callbacks as $priority => $callbacks ) {
        foreach ( $callbacks as $id => $data ) {
            $func = $data['function'];
            if (
                is_array( $func ) &&
                is_object( $func[0] ) &&
                $func[1] === 'wcml_refresh_cart_total'
            ) {
                remove_action( $hook_name, $func, $priority );
            }
        }
    }
}, 1 );

After that, make a small change to the original product, and update its translation. Let me know if you have any questions in the meantime.