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

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

This topic contains 0 reply, has 1 voice.

Last updated by Nicolas V. 5 days, 6 hours ago.

Assisted by: Otto.

Author Posts
April 21, 2025 at 11:36 am

camillef-5

Background of the issue:
I am trying to create a course bundle in one language (e.g., English) and duplicate it to a second language (e.g., Arabic) using WPML. The site I need help with is hidden link. I have confirmed that the bundle post is translated and published correctly, the WooCommerce product created by Tutor LMS exists in both languages and is translated in WPML, and all products are linked correctly under WPML → WooCommerce Multilingual → Products. There is no custom code overriding cart behavior.

Symptoms:
The duplicated course bundle does not get added to the WooCommerce cart when clicked, regardless of which language the original bundle was created in. The duplicated version never adds to cart, while the original one works fine.

Questions:
Why does the duplicated course bundle not add to the WooCommerce cart?
Is there a specific setting in WPML that needs to be adjusted for duplicated products?

April 21, 2025 at 12:43 pm
April 23, 2025 at 1:07 pm #16959812

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now.

Just to confirm that I’ve understood the issue correctly:

You have a course bundle created using the Tutor LMS Pro plugin. When WPML is active, this bundle functions correctly on the English (default) version of your site, but on the Arabic version, the “Add to Cart” button does not add the bundle to the cart.
The only plugins required to reproduce the problem are Tutor LMS Pro and WPML and its addons.

Can you please confirm if the above summary accurately describes the issue you are facing?

The Pro version of this plugin is compatible with WPML and requires the installation of their WPML Addon, please check this documentation:
hidden link

If after installing it and setting it up, the issue persists:

To debug this further, I'll need to replicate your site locally. For this, I'll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" or "Updraft Plus" on your site.
This will allow me to create a copy of your site and your content.
Once the problem is resolved, I will delete the local site.

Let me know if you are OK with that, please.

Best Regards,
Otto

April 24, 2025 at 7:57 am #16962900

camillef-5

yes this is the issue.
and I am okay with this you can setup this on your local and debug this.

April 24, 2025 at 2:34 pm #16964891

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

As I mentioned in my previous message:

The Pro version of this plugin is compatible with WPML and requires the installation of their WPML Addon, please check this documentation:
hidden link;

Before further debugging, please install and set it up, and check if the issue persists.

Best Regards,
Otto

April 25, 2025 at 12:50 pm #16968579

camillef-5

This addon is already install and set it up but still having same issue.

April 25, 2025 at 12:54 pm #16968634

camillef-5

you can see here

image.png
April 25, 2025 at 3:21 pm #16969331

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

It looks like the problem comes from custom code added in your child theme, right? With the parent theme or a default WP theme, there is no "add to cart" button for the bundle product.

It seems you need custom programming work, which is beyond the scope of our support.

At this point, I would suggest you consider contacting one of our certified partners from this link: http://wpml.org/documentation/support/wpml-contractors/
You will get the custom assistance you need to get on with your project.
Before doing so please have a look also here:
http://wpml.org/documentation/support/wpml-contractors/guidelines-for-people-looking-for-consulting-help/"

Best Regards,
Otto

April 26, 2025 at 11:09 am #16970813

camillef-5

There no issue is not with the custom code I tried with the default theme and add to cart button shows in both languages but it still does not add to cart

April 26, 2025 at 11:11 am #16970814

camillef-5

this is arabic -> hidden link

this is english url -> hidden link

in english it works but in arabic it not.

April 28, 2025 at 2:28 pm #16975426

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks, and apologies for the confusion.

I've escalated the issue to our second-tier support. I'll get back to you as soon as I have news.

Best Regards,
Otto

April 29, 2025 at 12:08 pm #16978892

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks for your patience. Froum our second tier:

ENGLISH:

_tutor_course_product_id => '24038' (Vaginismus + Yoga Program for Fourteen Days)

bundle-course-ids => '9895,11774',

ARABIC:

_tutor_course_product_id => '24040'

bundle-course-ids => '10693,11778',

Checking the products, I noticed that 24040 was not the translation of 24038. I changed Translation of "NONE" for Translation of "Vaginismus + Yoga Program for Fourteen Days" and saved: hidden link;

As far as I can see, now it's possible to add the Arabic product to the cart. Can you please confirm?

Best Regards,
Otto

April 30, 2025 at 8:02 am #16982267

camillef-5

Yeah, It's working fine but I still not understand how did you fix this can you please explain in detail so I can do this for all other Bundles?

Thanks

April 30, 2025 at 2:08 pm #16984364

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

The problem was that the bundled course and its translation weren't connected. So, you have to go to the secondary language product of the course and edit it. Make sure it's a translation of the original language course. Check the screenshot attached, please.

Best Regards,
Otto

CleanShot 2025-04-30 at 11.06.30@2x.png
May 1, 2025 at 11:47 am #16986462

camillef-5

for this bundel, I've done as per your instruction but still bot working

hidden link

english is working fine
hidden link