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

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

This topic contains 13 replies, has 1 voice.

Last updated by Marcel 5 months ago.

Assisted by: Marcel.

Author Posts
November 9, 2025 at 6:07 pm #17560188

timC-34

Background of the issue:
I am trying to apply a 15% discount on all products using YITH WooCommerce Dynamic Pricing & Discounts. Some of our products use a product configurator (WP Configurator) that adjusts the price dynamically. The issue can be seen on this page: hidden link

Symptoms:
When a configured product is added to the cart, only the base price is taken into account — the additional configurator costs are ignored in the discount calculation. This issue only occurs when WPML Multilingual CMS and WPML Multilingual & Multicurrency for WooCommerce are active. If I deactivate those two plugins, the discount is correctly applied based on the final configured product price.

Questions:
Why is the discount not calculated correctly when WPML plugins are active?
How can I ensure the discount is applied to the final configured product price, including configurator options?

November 9, 2025 at 6:14 pm #17560192

timC-34

In the screenshots you can see the differences between the expected and the actual behavior when the plugins are activated.

expected_behavior.png
actual_behavior.png
November 10, 2025 at 9:41 am #17561120

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi,

this seems like a compatibility issue. I would eventually also need to request temporary access (WP-Admin and FTP) to your site
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed

Your next answer will be private which means only you and I have access to it.

❌ Please backup your database and website ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

✙ Please add the Links to the […] Edit Screen, the Page/Post where you insert the […] and the corresponding Front End Page/Screen

Best Regards,
Marcel

November 12, 2025 at 11:01 am #17569919

timC-34

Hi,

did you have the chance to check the problem or do you need any information?

Kind regards,
Anja

November 14, 2025 at 5:05 pm #17579966

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi Anja,

I’m having difficulties reproducing the exact problem.

What I can confirm is the following:
On hidden link, when I select the “Chrome” base for 277,27 €, it appears in the cart as 162,82 € (new price) and 191,54 € (original price).

However, the behaviour is the same even when WPML is deactivated. I’ve attached a screenshot with WPML turned off. Could you please record a short screen video showing the steps where the issue occurs?

Thank You!

Best regards,
Marcel

November 15, 2025 at 2:38 pm #17580877

timC-34

Hi Marcel,

I attached two screen recordings.

1. Recording: All plugins are active. When I configure a product and the price is higher than the original price, in the cart it still shows the original price with the discount.

2. Recording: I deactivated the WPML Multilingual CMS & Multicurrency Plugin. When I configure the same product you can see that the configured price (minus discount) is shown in the cart. That's how it should be.

In this folder you can see the recordings.
hidden link

I unfortunately cannot upload videos.

Kind regards,
Anja

November 18, 2025 at 1:49 pm #17588271

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi Anja,

thank you for the clarification; the issue is much clearer now.

To confirm the compatibility issue with Yith WooCommerce Dynamic Pricing, could you please try to reproduce it in this isolated sandbox environment?

Sandbox Link: hidden link

The environment is pre-configured with WPML and WooCommerce. Please install the Yith plugin and create a basic example that demonstrates the problem.

If you can successfully reproduce the issue, I will immediately escalate it to our compatibility team. They will then either search for a suitable workaround or contact the plugin authors if a code change in their codebase is required for better WPML integration.

Best Regards,
Marcel

November 19, 2025 at 10:09 am #17591077

timC-34

Hi Marcel,

thanks for your reply.
The issue only appears with configurable products. So I need to install the configurator plugin as well.
But I need another license key for that. I am in contact with their support team.
I will try to reproduce the issue as soon as I have a temporary license key.

Kind regards,
Anja

November 19, 2025 at 12:52 pm #17591739

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi Anja,

sure, no problem!

Best Regards,
Marcel

November 19, 2025 at 12:52 pm #17591740

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi Anja,

sure, no problem!

Best Regards,
Marcel

November 21, 2025 at 9:50 am #17598181

timC-34

Hi Marcel,

I tried to reproduce the issue on the sandbox.
And I tried it for the first time. And the issue was the same.
But then I tried again to make a screen recording and then the issue was nonexistent.

And I tried to do exactly the same on the staging site, all plugins deactivated, but there the issue still exists.

I have no idea what is causing the issue.

I appreciate your help.

Kind regards,
Anja

November 21, 2025 at 7:08 pm #17600451

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi Anja,

I checked the sandbox, and WPML is currently deactivated. That might be the reason why you were no longer able to reproduce the issue.

Best regards,
Marcel

November 25, 2025 at 10:43 am #17607486

timC-34

Hi Marcel,

I activated the plugins and tried it again.
But I can still not reproduce the issue. The category discount is deducted on the configurated product.
Here you can see the screen recording:
hidden link

So I still don't know what to do.

Kind regards,
Anja

November 26, 2025 at 2:23 pm #17612374

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi Anja,

thank you for the video. Since the 10% discount is applied correctly, we can’t confirm any malfunction or compatibility issue between the plugins you’re using.

Is there anything else on your site that might influence the output, such as server-side caching or similar mechanisms?

Best regards,
Marcel

The topic ‘[Closed] Discount not calculated correctly when WPML is active (Plugin Yith Woocommerce Dynamic Pricing + WP …’ is closed to new replies.