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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 14 replies, has 0 voices.

Last updated by Christopher Amirian 11 hours, 18 minutes ago.

Assisted by: Christopher Amirian.

Author Posts
August 3, 2025 at 7:31 am #17290615

caterinag-2

Background of the issue:
I am trying to process the buying of tickets using the MEC plugin. The process works in the primary language, Italian (ITA), but not in English (ENG). After clicking on 'add to cart', the user is redirected to the cart page, but the cart is empty. The issue can be seen on this page: hidden link

Symptoms:
After clicking 'add to cart' in the English version, the user is redirected to the cart page, but no items appear in the basket.

Questions:
Why does the cart remain empty when adding tickets in the English version?
How can I ensure the cart functions correctly in both languages?

August 3, 2025 at 2:34 pm #17290985

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support. This needs to be checked by the MEC plugin developers, but in genera,l first please make sure if it happens on a minimal installation:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except:
. Woocommerce
. Woocommerce Multilingual
. WPML Multilingual CMS
. WPML String Translation
. MEC (I'm not sure if there is another MEC addon is needed for that ticket/Woocommerce integration)
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If the problem persists, I suggest that you double check with MEC plugin developers.

Thanks.

August 3, 2025 at 3:48 pm #17291115

caterinag-2

Sure, but it's fun they say check with WPML. Actually I have moved to this plugin because WPML suddenly removed the previous plugin I used from the list of compatible ones. And I get in trouble. So sorry if I'm a bit frustrated.
This plugin is delclared as one of the best for events (in terms of WPML compatibility) than I discover that translation work just on text, not on prices, not on date, not on emails.....
and moreover is creating a lot of issues.
I have the MEC woocommerce addons.
I will try to do as you suggested but I'm struggling to put tickets online since I have to promote my event

August 4, 2025 at 7:17 am #17291818

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

We do have compatibility with the core plugin for MEC:

https://wpml.org/plugin/modern-events-calendar-lite/

But not the Woocommerce Addon for that plugin. I will be happy to report this to our compatibility team but we can not guarantee a fix. But we will do our best.

To be able to report the compatibility issues we need to replicate the issue on a clean installation.
I created a clean installation of WordPress, WooCommerce, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
hidden link

Kindly follow the steps below:

- Install MEC and the Woocommerce Addon of that plugin.
- Create a product and event, and replicate the issue.
- Get back to us with the steps to see the problem.
- Please do not import anything inside there, as the whole reason for this method is to replicate the problem from scratch.

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

August 4, 2025 at 4:28 pm #17294143

caterinag-2

I did on a staging site. Now it's impossibile to do any test for a security issue that prevents any payment to be completed. This happen on the stagins site only and not on the living site.

sorry it's in italian but you can easily translate

Bloccato il caricamento di contenuto misto attivo (mixed active content) “hidden link

the web server support says is a setting on the payment gateway.
I'm then checking what happens to all of the standard woocommerce product and have noticed that a all product attributes does not exist anylonger in the ENG version that's the second language on my website

So I need to open a new ticket because product attribute are no more translable under taxonomy.
By the way, since the plugin is a pro version i'm mot sure you can use on your dev site but I can give you access to my staging site. I have uploaded plugin, anyway

August 5, 2025 at 4:49 pm #17297442

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you. The information you provided does not help as we need you to replicate the problem on the installation below:

hidden link

Please make sure the problem is there, and then give us the steps to check there.

Thanks.

August 5, 2025 at 10:21 pm #17298237

caterinag-2

check it please.
When you add the ENg event to the cart, cart is emptyù
just complete a standard purchasing process

August 6, 2025 at 7:53 am #17298687

caterinag-2

following advice of the MEC plugin support i added this code

In your theme’s functions.php file, ensure WooCommerce AJAX requests use HTTPS:
add_filter('woocommerce_ajax_get_endpoint', function($url) {
return str_replace('http:', 'https:', $url);
});

so far it seems working

August 6, 2025 at 8:08 am #17298727

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi.

I'm glad that you managed to fix the issue.

August 6, 2025 at 2:48 pm #17300081

caterinag-2

could you please check if it works on your dev as well?
I replicated the issue on your installation, did you note?
but haven't checked if this works there as well or if the proplem persists

August 7, 2025 at 10:39 am #17302231

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I checked the test website nd there is even no product there to be able to test.

Please consider that we are not familiar how MEC plugin works with its ticket system.

So setting up products that can be checked is something that you need to do here and give us the link to check:

hidden link

Thanks.

August 7, 2025 at 11:05 am #17302326

caterinag-2

hidden link

there is

August 8, 2025 at 7:19 pm #17306195

caterinag-2

Hi Christopher, can you please check? Did you solved the issue on your dev stage where it was still present?
Can you provide me any solutions?
the one I tried, is not working on new events sop was not a stable workaround

August 9, 2025 at 1:33 pm #17306843

caterinag-2

It's definitely a language conflict issue. The full process of adding to cart has translation issues: sometimes all fields appear as translated, sometimes they dont.
I checked the way price is set (currency symbol before or after the number) according to MEC plugin settings.
Multicurrency option is disable in Woocomemrce Multilingual Plugin.

Now, you can finalize "the add to cart" process but the cart is shown in ITA and shows tickets
if you switch to ENG, becomes empty

August 10, 2025 at 10:49 am #17307507

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for your reply. I checked and see the issue on a clean installation.

Please also share that clean installation with the MEC support. I also reported this to the compatibility team.

I will get back to you as soon as I have an answer.

Thanks.