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

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

This topic contains 7 replies, has 0 voices.

Last updated by Dražen 4 days, 15 hours ago.

Assisted by: Dražen.

Author Posts
January 12, 2025 at 4:11 pm #16586086

simonN-3

Background of the issue:
I was trying to use the Multi-currency plugin with a discount setup in the Flycart plugin, where 2 items get 15% off and 3 items get 25% off. I added an item to the cart, increased the quantity to 2 and 3, and then decreased it back to 2. The issue can be seen on this page: hidden link.

Symptoms:
When I decrease the item quantity from 3 to 2 with the Multi-currency plugin enabled, the discount and price are incorrect. Only 1 item is discounted, and 1 is at the original price. Without the Multi-currency plugin, this problem does not occur.

Questions:
Why does the discount calculation fail when decreasing the item quantity with the Multi-currency plugin enabled?
How can I fix the incorrect discount issue when using the Multi-currency plugin?

January 13, 2025 at 9:37 am #16587332

Dražen
Supporter

Languages: English (English )

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

Hello,

I see you are using Discount Rules by Flycart, I do not see this plugin on our official compatible plugins list, so there could be some issues.

1) Have you already maybe checked with plugin author and followed their suggested guide?

- hidden link

2) We can try to help, but please note in the end we might be author collaboration and joining our compatibility program, but we will do our best.

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons, and themes.

You can access the WordPress dashboard using the link below:

- hidden link

Try to replicate the issue with a simple example.

This will help us to report the probable issue to the compatibility team and solve the possible problem faster.

Regards,

Drazen

January 18, 2025 at 11:34 am #16608973

simonN-3

I have tried to setup the plugin for you to test.
Because we bough the plugin license which provide only 1 site.
I originally want to edit the DB to help installing the plugin for test but I cannot modify the database. It said the DB is protected.

So, what should we do to install the plugin for you to test?

Screenshot 2025-01-18 at 19.33.46.jpg
January 20, 2025 at 6:56 am #16611796

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks.

I installed WP-phpmyadmin plugin, so you can now access the local DB from the WP dashboard and alter it per your needs.

Let me know how it goes.

Regards,
Drazen

January 20, 2025 at 1:15 pm #16613599

simonN-3

Hello! Dražen,

We have successfully setup the sandbox with the problem described before.
Multicurrency setup there, when using the coupon, 2 for 15% off, 3 for 25% off.

Step:
1. add an item to the cart with quantity 1
2. go to the cart
3. apply the code vloveu
4. add item to 2, get 15% off -> correct
5. add item to 3, get 25% off -> correct
6. reduce item to 2 -> only 1 item get 15% off
without multicurrency setup, it is normal.

It is for your inspection.
We suspect it is related to the javascript or ajax update. Just for your reference.

January 20, 2025 at 1:28 pm #16613616

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back and taking the time to reproduce this.

I have checked further on this and tried a few options but seems that does not work.

I can also see they have an option inside the plugin for this case: "Add additional compatible for WPML (Multi-Currency)", so I guess they are aware of this issue and have had this checkbox for this.

The best I can advise is to report to the plugin author that this mode is not working correctly in specific cases and they would need to revise it since it has been added from our side and we are not aware of how this works. If they need our help they can join our GoGlobal program and we would be glad to help and collaborate further in making their plugin officially compatible with WPML.

Thanks,
Drazen

Discount Rules ‹ Sandbox — WordPress.jpg
January 27, 2025 at 12:30 am #16635735

simonN-3

Hello, thanks for your suggestions, we have reached Flycart again and waiting for their reply. We will update once we have received any news from them and might need your side for further assistance.

January 27, 2025 at 6:55 am #16635942

Dražen
Supporter

Languages: English (English )

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

Hello,

sure, thank you.

Make sure to invite them to GoGlobal, as that way, they can communicate directly with our compatibility team and work on making it compatible 100%.

Regards,
Drazen