This thread is resolved. Here is a description of the problem and solution.
Problem:
When the WPML plugin is activated, clicking on a submenu item, such as 'My Account > Orders', does not open the intended page but only reloads the 'My Account' main page.
Solution:
We found that the WooCommerce Multilingual Add-On was deactivated. This Add-On is necessary for compatibility between WooCommerce and WPML. To resolve the issue:
1. Activate the WooCommerce Multilingual Add-On.
2. Look for a notice in the Backend that says "Make your store multilingual Set up WooCommerce Multilingual & Multicurrency to translate your store and add more currencies."
3. Run the setup wizard as it may solve the problem with the third-party Store manager.
For more information about the WooCommerce Multilingual Add-On, please visit the following link:
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: WCML
Related documentation:
This topic contains 11 replies, has 2 voices.
Last updated by Marcel 1 year, 7 months ago.
Assisted by: Marcel.
Author | Posts |
---|---|
January 19, 2024 at 12:47 pm #15204965 | |
tatianaW-2 |
I am trying to: When the WPML plugin is activated and I am trying to click on a submenu item, e.g. hidden link, it does not open the page, but only reloads hidden link It starts working properly, when the WPML Plugin is deactivated. |
January 19, 2024 at 6:38 pm #15206129 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, I would need an account to open that page. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Maybe 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" 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 this is ok with you. IMPORTANT Best Regards |
January 23, 2024 at 7:28 pm #15218666 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Tatiana, I have the local copy already and hope to find a solution until tomorrow. Best Regards |
January 24, 2024 at 8:50 am #15220214 | |
tatianaW-2 |
Hi Marcel, thank you for the update. Looking forward to it 🙂 Best regards |
January 24, 2024 at 6:31 pm #15223357 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, it works now on your website. By isolating it locally, I found that our Add-On "WooCommerce Multilingual & Multicurrency" was deactivated. Therefore, the WooCommerce endpoints were not linked correctly. Best Regards |
January 24, 2024 at 7:36 pm #15223576 | |
tatianaW-2 |
Hi Marcel, I just tested on our website and it is not the case. It still does not work. Best regards, |
January 25, 2024 at 11:46 am #15225864 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Tatiana, Yes, you are right. In that state, it was not active on the live site - sorry about that! I tested it first locally, where WPML was active. So, as it's working only with WPML and WCML on the local copy, the issue seems to be caused by a 3rd party plugin. I will now reactivate locally all plugins in groups to see if something interferes here. Best Regards |
January 25, 2024 at 11:52 am #15225928 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
I activated WPML on your live site (WCML was already active), and my above-mentioned solution seems to work. I have attached a screenshot. The redirect to my account is not happening anymore. Can you confirm this? WPML +String Translation is still active to check. Best Regards |
January 25, 2024 at 12:18 pm #15226012 | |
tatianaW-2 |
Hi Marcel, thank you for getting back. I agree, on the my account page I can see that it works now. I still did not quite understand what the reason therefore was? Because the String Translation was not active? Also, I was check also some other places, that were having the same issue and for this submenu items it still persists: hidden link When clicking on all items below home, it redirects to home again. Best regards, |
January 25, 2024 at 12:27 pm #15226040 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, the main issue was that WooCommerce Multilingual Add-On was deactivated. This Add-On adds compatibility between WooCommerce and WPML. You can see on the Backend a notice with "Make your store multilingual For more information about this Add-On, you can check this link: https://wpml.org/documentation/related-projects/woocommerce-multilingual/. Best Regards |
January 25, 2024 at 12:48 pm #15226177 | |
tatianaW-2 |
Dear Marcel, I have done the set-up of the WooCommerce Multilingual & Multicurrency Plugin as suggested. For the hidden link it still does not work unfortunately. Can you please help understand why this might be happening? Best regards, New threads created by Marcel and linked to this one are listed below: https://wpml.org/forums/topic/translation-of-wcfm-store-manager-pages/ |
January 25, 2024 at 4:20 pm #15227314 | |
Marcel Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Tatiana, I will test this locally on the new, separate ticket I created and mark this one related to the "My Account" page as resolved. Best Regards |