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.

This topic contains 4 replies, has 0 voices.

Last updated by Paweł Halicki 1 week, 4 days ago.

Assisted by: Paweł Halicki.

Author Posts
March 27, 2026 at 8:35 am #17931100

Luzi

Hello WPML Support Team,

,We are experiencing an issue: when switching from the original language (DE) to other languages such as EN and FR, the prices are sometimes displayed differently.

This issue does not occur with all products, only with certain ones. Unfortunately, we were not able to identify any clear pattern. In some cases, the difference is only a few cents, while in others it is more noticeable. Sometimes, everything is displayed correctly.

We are unable to explain why this is happening and couldn’t find the cause on our side.

Could you please help us understand what might be causing this issue and how we can fix it?

Thank you very much in advance!

Best regards,
Damaris

March 27, 2026 at 6:37 pm #17933176

Paweł Halicki
Supporter

Hello,

I’m happy to help with the pricing issue. Most often, this is caused by VAT calculation - for example, if a product has a gross price set for one region, the VAT needs to be recalculated for a new location (for example, when translating products or using customer geolocation). Sometimes the change happens only in the cart after entering the shipping address.

If this does not solve the problem, please provide:

- access to a test environment (non-production, preferably minimal),
- the product and instructions on how to reproduce the price change.

This will allow me to investigate the cause more precisely. You can send these details in a private message - I'll can mark your next message as private.

Best regards,
Pawel

March 31, 2026 at 7:32 am #17938425

Luzi

Good morning, I just wanted to quickly check what the current status is?

April 8, 2026 at 2:33 pm #17957150

Luzi

Hi,

Our problem still hasn't been resolved. Could you please take another look at this?

April 8, 2026 at 3:52 pm #17957300

Paweł Halicki
Supporter

Hello,

I apologize for the delay, but the issue required a more in-depth analysis - I had to create a backup and download it (I left access to it on the site; if it’s no longer needed, it can be removed).

I tested everything on my local environment, and here is what I was able to determine:

* When displaying the price using the default WooCommerce template (`wp-content/themes/flatsome/woocommerce/single-product/price.php`), the prices are always correct - both for simple and variable products.

The differences start appearing after activating:
- Plugin: yith-woocommerce-role-based-prices-premium
- filter: ywcrbp_get_your_price_html
- use $product->get_regular_price(); - the price including VAT is used for calculations

For the main product (DE) it looks like this plugin applies some modifier - for translations it does not.

I’m not an expert in this specific plugin, but based on its description, I assume:
- " It is also possible to show the price included or excluded tax by user role"

hidden link
hidden link
hidden link

Additionally, after deactivating this plugin for the product (on my local copy), the prices become consistent everywhere.

My question is whether this plugin is essential, and what exactly the current configuration is intended to achieve - this will help me better understand the issue.

I’m looking forward to your feedback.

Regards,
Paweł