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: America/Lima (GMT-05:00)
Tagged: Documentation request
This topic contains 31 replies, has 3 voices.
Last updated by Andreas W. 1 year, 5 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
August 17, 2023 at 11:06 am #14245313 | |
martinH-119 |
We are running an e-learning membership site using WPML along with WooCommerce Subscriptions, Memberships for WooCommerce and Teams for Memberships. We have a staging site for testing purposes, if you need access. |
August 18, 2023 at 11:59 am #14252249 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Hello! I'll be helping you out until a supporter takes your case. 1) What you mention seems to be using some custom code to redirect users when needed and other similar features. can you confirm this is the case and give us more information on what exactly are you doing to achieve what you described? 2) If instead they are features provided by an e-learning plugin or similar, and if that's the case, can you point out which features are you using to create these redirections that are not working? 3) let's focus for now on the redirections because it seems to be the main issue here. i suppose the clients click on a button or a link to go to a page, that is set to go to a specific language. how is that section created? is it created via a template, code, shortcode or something else? Thanks in advance for this information. --------------- WPML needs a minimum of 128MB of memory to work correctly and it seems you are not meeting this requirement so let's start with this in the meantime. Kindly add this code into your wp-config.php file, right after the database information: define ('WP_MEMORY_LIMIT', '256M'); define ('WP_MAX_MEMORY_LIMIT', '256M'); Then check if by any chance the problem disappears or changes and let us know. |
August 18, 2023 at 12:14 pm #14252375 | |
martinH-119 |
Hi Alejandro, 1. The functionality is built into the WooCommerce Subscriptions, WooCommerce memberships and Teams for WooCommerce memberships plugins. The customer has a dashboard, where they can adjust the number of seats for their subscription. The issue we are trying to figure out is how WPML can cause the subscription to switch between the two translations of the subscription product when seats are adjusted. When they first purchase the subscription on the public site, they can purchase it on the Danish language pages - it is an Elementor pop up that contains the subscription product. If they go to the English language page, instead of the product there is a text box with a link back to the danish page. So there is no way to purchase the english version of the product. The issue only arises when they already have a product and want to increase og decrease they amount of seats. Then they go to their dashboard - adjusts the number and go through the check out. In this case, sometimes, WPML seems to affect a subscription switch to the english language version of the subscription, which results in the price being calculated wrong and the cutomer to have both subscriptions recorded in the backend. The memory limit has been adjusted. |
August 19, 2023 at 6:16 pm #14257137 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Thank you for the provided information. First, please go to WPML > Settings > Custom Field translation and check for any available fields, that could be relative, like such fields that refer to "seats" for example. Make sure that any important field that refers to a setting of your subscriptions or memberships is set to "copy". Guide: Also, please check WooCommerce > WooCommerce Multilingual & Multi-Currency for any given configuration issues and if you find some of them and do not know how to solve them, then please send me a screenshot of the message(s). Also, this problem could actually be related to this known issue between WooCommerce Memberships and WCML. Please read this errata, apply the provided workaround, and then let me know if you are still experiencing issues: Best regards |
August 21, 2023 at 1:31 pm #14264553 | |
martinH-119 |
Hi Andreas, |
August 21, 2023 at 1:33 pm #14264561 | |
martinH-119 |
In regard to the workaround - we have not experienced that the membership details are missing, only that the order related to the translated version of the membership - which should not be possible as it is not available to purchase on the site. So it seems unlikely to relate to that workaround. |
August 22, 2023 at 5:53 pm #14273167 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Indeed, I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the staging site to investigate this issue further. You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it. IMPORTANT The private response form looks like this: Next time you reply, click "I still need assistance." Video: Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form. Best regards |
August 24, 2023 at 9:23 pm #14288289 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hallo, Ich habe unter WPML > Settings > Custom Field Translation > "Show system fileds" folgende Felder gefunden: _subscription_payment_sync_date Wenn ich nun das Team im Backend editiere und dann auf die Kontoseite gehe, dann sehe ich die gleichen Angaben in beiden Sprachen und kann ebenso Einladungen versenden. Sollte weitere Hilfe notwendig sein, dann lass es mich bitte wissen. Mit freundlichen Grüßen |
August 28, 2023 at 6:52 am #14297429 | |
martinH-119 |
Hi Andreas, |
August 30, 2023 at 12:21 am #14309527 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Please take kindly note that we try to handle only one issue per ticket. Could you please confirm if the suggestion from my prior comment solves the main issue of this ticket, which was that members' subscriptions were not visible in both languages? If so, then I can offer to create a new ticket for the issue with the user capabilities when using Team Managers. Best regards |
August 30, 2023 at 9:28 am #14311861 | |
martinH-119 |
Hi Andreas, Among the three issues, the one where licenses are shown wrong on some accounts seems to be better - at least on the existing account where we noticed the issue. We do still experience both the Team Manager role access issue and the issue where if we restrict the content of one post in a custom post type, then all posts are restricted. This also goes away, when WPML is not active. |
August 30, 2023 at 10:49 am #14312549 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, We always create one ticket per issue and we are in fact handling various issues here that somehow all relate to the same plugin. The reasons why we separate the issues are: - It will be easier for other users of the forum to find an answer for a similar issue - We might need to escalate an issue internally which we need a unique ticket - The support agent or user of the forum might lose the overview and the ticket might take longer to solve than necessary This is why it is more effective to only handle one issue per ticket. Please take note that we do have a national holiday here in Peru today. In case you would not like to wait until Thursday, I would like to encourage you to open new tickets on the forum for any further issues and mark this ticket as resolved, as issue 1) was solved on this ticket. I hope for your understanding. Best regards |
September 6, 2023 at 6:50 am #14348749 | |
martinH-119 |
Hi, |
September 6, 2023 at 11:53 pm #14355297 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Please revise WooCommerce > WooCommerce Multilingual & Multi-Currency for issues. I had to adjust the source language for the permalinks inside the WPML Permalink Settings and then translate the Store URLs for Shop and Products. Take note, that we handled an issue with subscriptions not working as expected and currently they are showing up on the account page in English I am also able to change the seats of the team. I also can send invitations to new members. Also, I can change members to managers or remove them from here: hidden link I do not see any issue on the Staging. Please revise and confirm. Best regards |
September 8, 2023 at 9:36 am #14365413 | |
martinH-119 |
Hi Andreas, I see what you mean in relation to the product slug permalink setting being set as primarily English. Others on that list - such as the endpoints also has English as the primary language - where is that changed, so we can set Danish as the primary language for all slugs? It is not a problem to set someone as a team manager - they get the role in the backend - the issue is that they do not get the rights. What about the content restriction issue, where when we restrict one piece of content all posts in that CPT is restricted? |
The topic ‘[Closed] WPML causes subscriptions switch when adjusting subscriptions.’ is closed to new replies.