Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is using WPML to create a Spanish version of their website and has encountered an issue where Spanish Memberships include English subscriptions. This prevents Spanish speakers from accessing content they purchased because the memberships do not recognize the Spanish subscriptions.
Solution:
We confirmed that the WooCommerce Memberships plugin is compatible with WPML. However, there are known issues that might be causing the problem described. We recommend checking the specific errata related to WooCommerce Memberships not assigning membership when purchasing a product in a secondary language. Here is the link to the errata: https://wpml.org/errata/woocommerce-memberships-does-not-assign-membership-when-purchasing-a-product-in-a-secondary-language/
Applying the suggested workaround from this errata may resolve the issue.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.

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.

Tagged: ,

This topic contains 3 replies, has 0 voices.

Last updated by Itamar 1 week, 1 day ago.

Assisted by: Itamar.

Author Posts
November 15, 2024 at 4:47 pm #16409401

spaffordA

Background of the issue:
We are creating a Spanish version of our website hidden link using WPML. We created Spanish versions of the subscriptions and Spanish versions of the Memberships. We are using Memberships only for permissions.

Symptoms:
The Spanish versions of the Memberships include the English versions of the subscriptions, preventing Spanish speakers from accessing content that they purchased because they didn't purchase the English versions. It's impossible to remove the English Subscriptions and replace them with Spanish Subscriptions in a given Membership Plan.

Questions:
Are we missing something by creating new and independent memberships that include the Spanish subscriptions?
Why won't a Spanish membership accept a Spanish subscription?

November 17, 2024 at 8:43 pm #16412172

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

The WooCommerce Memberships plugin is officially compatible with WPML.

https://wpml.org/plugin/woocommerce-memberships/

However, as you can see, there are two known issues.

https://wpml.org/errata/woocommerce-memberships-does-not-assign-membership-when-purchasing-a-product-in-a-secondary-language/

https://wpml.org/errata/woocommerce-memberships-restrict-content-conditions-applies-to-all-pages-across-the-site/

The first issue seems to be what you are experiencing. Please check that issue and apply the suggested workaround to see if it fixes the problem on your site.

Regards,
Itamar.

November 19, 2024 at 4:37 am #16417365

spaffordA

Thank you so much! We appreciate the assistance and insights, and the problems is now fixed.

Just an FYI, that we have one other conflict that might be of interest to you, and the fix in this post works perfectly:

WPML Ticket: https://wpml.org/forums/topic/woocommerce-multilingual-conflict-with-wc-membership/page/3/#post-15741131

With best regards, and again thank you!

November 19, 2024 at 4:53 pm #16420874

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Great, I'm glad it is resolved now.

Thanks for updating me on the other issue.

Regards,
Itamar.