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 – 14:00 | 9:00 – 14:00 | 9:00 – 14:00 | 9:00 – 14:00 | 9:00 – 14:00 | - |
- | 15:00 – 18:00 | 15:00 – 18:00 | 15:00 – 18:00 | 15:00 – 18:00 | 15:00 – 18:00 | - |
Supporter timezone: Asia/Dhaka (GMT+06:00)
Tagged: Bug
This topic contains 10 replies, has 2 voices.
Last updated by Prosenjit Barman 2 years, 1 month ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
February 14, 2023 at 10:59 am #13029497 | |
joepv |
We have a webshop with WPML and WooCommerce. There is a function in WPML that you can say it is not possible to leave products in cart when switching language. So when somebody adds a product in Dutch and want to switch to German, there is a pop-up that lets you empty the cart or stay on the Dutch version of the website. But for some reason this is not always working and our client now has a problem that somebody can add a Dutch product, switch to German and check-out... Why is this happening sometimes? |
February 15, 2023 at 6:08 pm #13043369 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
[Messaged removed due to internal reason] |
February 15, 2023 at 6:18 pm #13043413 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I totally understood the issue you're having while trying to reset the cart. I'd like to inform you that I'm able to trace an issue with the Cart reset functionality of WCML. When the "Language URL format"(WPML > Languages) is set to "Different Domains per language"(hidden link), the cart reset functionality does not work properly. The reset functionality works perfectly for other options. Please be informed that the issue has already been escalated to the 2nd-tier team. I'll definitely inform you if I receive any updates from them regarding this matter. In the meantime, to ensure the smooth operation of your store, please consider using either "Different languages in directories" or "Language name added as a parameter" instead of "Different Domain per language." Let me know if there is anything else you need help with. I will be happy to assist. Best Regards, |
February 16, 2023 at 10:04 am #13047159 | |
joepv |
Hello Prosenjit, Thank you for getting back to me and I am glad (I know it is weird) that you are able the replicate the issue we are having. The temporary solution you provided is not SEO friendy because the whole URL structure will be different and also we have to change al the advertising campaigns URL's so that is not really an option for us. Do you have any idea how long it will take to solve this issue? Thanks in advance. Kind regards, |
February 17, 2023 at 10:29 am #13056243 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I certainly can understand your concern and I'm very sorry for the inconvenience. I'd like to inform you that the issue has already been escalated to the appropriate team and they are currently investigating it. At this time, I'm unable to give you an estimated time for when the issue will be resolved. We take issues reported by the users seriously and make every effort to resolve them as fast as we can. You'll surely be notified as soon as there is any update for you. Thank you for your patience and cooperation in this matter. Best regards, |
February 17, 2023 at 3:20 pm #13058381 | |
joepv |
Hello Prosenjit, Thank you for the fast reply. We will wait for an update from you side. Hopefully it will be fixed soon:) Thanks. |
February 27, 2023 at 3:43 am #13118999 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I have an update to share with you regarding the issue you reported. The second-tier team has conducted a thorough investigation and has confirmed that it is an issue inside the WooCommerce Multilingual plugin. The findings are mentioned below. We use cookies to detect the language change. Now, in language per domain, especially when using top-level domains (example.com, example.fr), WCML can not read the cookie value from the primary domain. For example, if the user switch from English to French, on the French page WCML reads the cookie value that should be English (without language per domain) and compare it with the requested language(which is French then displays the popup. In the case of domain per language, the cookie value we get is French (Different cookie value for each domain) and the requested language is French too. Therefore, no popup is displayed. I'm sorry to inform you that there is no quick workaround available for now that can solve this issue. But, I want to reassure you that our developers are aware of this matter and are working on finding a solution. At this time, we do not have an estimated time for when the solution will be available. I will keep you informed of any further updates regarding this matter. However, we have a solution in cases where sub-domains are used instead of top-level domains (such as fr.example.com or es.example.com). We simply need to define- define('COOKIE_DOMAIN', '.example.com'); on the "wp-config.php" file to make the popup appear in different subdomains. This adjustment will create one cookie for all domains instead of multiple cookies for each domain. I hope you can understand. I truly appreciate your continued patience and cooperation in this matter. Best Regards, |
March 22, 2023 at 10:12 am #13302985 | |
joepv |
Hello Prosenjit, Thanks a lot for this detailed answer... Sorry to hear that we can't fix it. Your plugin has been around for so long and we are the first to address this problem? Our customer has run into problems several times because of this error, how can we sell this to our customer? Sorry but we can't fix it... It is very nice that you explain it, and I can explain it to our customer too, but they don't care. It should work and it doesn't right now. But what you're actually saying is that we have to convert the webshop to a subdomain for this to function? We are now a month further, have we already learned something more about this problem and a possible solution? Kind regards, Joep |
March 23, 2023 at 7:29 am #13311593 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Joep, I totally can understand your situation and I'm sorry for the inconvenience. I would like to clarify that we are not saying that we can't solve the issue. Our dev team already started to work on the issue. We always try to solve the issues of our clients by giving them a high priority. As several sensitive points of WooCommerce are involved here, it would take some time. We are focusing on implementing a permanent solution for this issue. For now, we only can suggest you choose the sub-domain structure. The reset cart functionality will work properly with the subdomain structure. So, please wait till we bring a proper solution for the issue. Rest assured that if I have any update on this matter, I will surely let you know. I truly appreciate your patience and kind cooperation in this matter. Best Regards, |
April 21, 2023 at 9:27 am #13516667 | |
joepv |
Hello Prosenjit, Any news about this yet? Best regards, |
April 25, 2023 at 4:20 am #13530553 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi Joep, I discussed with the 2nd tier and development team regarding this feature. This feature has already been taken to the development board and they are making good progress. I understand how important this feature is to you, and we're working hard to make it a reality. However, developing new features can be a complex process that involves careful planning, extensive testing, and sometimes unexpected challenges. We want to make sure that any new features we release are of the highest quality and meet the needs of as many customers as possible. That said, we appreciate your patience as we work to develop and release this new feature. We're committed to delivering the best possible solution, and we're working hard to make sure that the feature meets your needs and exceeds your expectations. In the meantime, if you want, you can use the Subdomain structure till we release the feature. It is tested and can assure you that the reset cart functionality work fine with it. We appreciate your patience and understanding in this matter. I'll surely keep you updated on our progress. In the meantime, please don't hesitate to reach out if you have any further questions or concerns. Best Regards, |