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: Asia/Karachi (GMT+05:00)
This topic contains 13 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 11 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
July 4, 2023 at 7:13 pm #13944659 | |
nadiaM-5 |
Tell us what you are trying to do? Hi, for some reason my WooCommerce shipping costs are not being calculated and charged in one of my languages. Please note that my default language is Dutch, and that I have two other languages, English and German. For some reason, this issue only occurs in the German language. I do not understand why and how I can solve it, as most settings would affect both English and German. Note that shipping class has been translated appropriately. Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? |
July 5, 2023 at 10:02 am #13948711 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. Before proceeding further, may I ask you to fix and try a few things please? 1) I see that the "WP Memory Limit" is set to 40M. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding following code: define( 'WP_MEMORY_LIMIT', '128M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' ); Remember to add these lines before the line where it says: 2. Update WooCommerce Multilingual & Multicurrency plugin to the latest version. Also make sure all plugins and theme are up-to-date, specially WPML and WooCommerce related plugins. Remember to take a full backup of your site and database before updating. 3. Then, finally check this guide https://wpml.org/documentation/related-projects/woocommerce-multilingual/#shipping-classes and see if this helps. Please let me know and I'll try my best to further help you on the matter. Regards. |
July 5, 2023 at 1:25 pm #13951017 | |
nadiaM-5 |
Dear Waqas, Thank you for your reply and help. 1) I have updated the memory by inserting the lines you mentioned. The issue unfortunately persists. Best, |
July 5, 2023 at 2:46 pm #13951857 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. Yes please provide admin access to your website to check the issue in detail. Also provide some steps to observe the issue. Remember to take full backup of your website and database before proceeding. However, a staging/test site is highly recommended, because I may need to try some changes/fixes on the site, which may cause conflicts with the live site otherwise. Please confirm it in your next reply or let me know if you do not agree with the mentioned. I've set your next reply as private to share this information safely. IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. |
July 6, 2023 at 7:26 am #13955621 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. I am working on this and 'll get back to you as soon as I find something or have a solution. |
July 6, 2023 at 11:35 am #13959321 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for waiting on this. I was able to see and understand the problem. If I select Germany as a destination then it appears on German version of cart as well, but selecting another destination doesn't work for German cart. Overall everything seems to setup fine. But I need to check this in an isolated environment, like with minimal setup: - Only WPML and WooCommerce plugins active. This way I can see if this problem is originally coming from WPML or there's a conflict with a plugin or theme. I am afraid to risk the production site with this practice. Do you have a staging or dev site where we can reproduce this issue? Or can you prepare one based on the live site? If not, let me know I can provide you a sandbox where you can setup things accordingly. I've enabled your next reply as private, in case if you have a staging and want to provide the access. |
July 6, 2023 at 6:41 pm #13962861 | |
nadiaM-5 |
Hi, unfortunately we do not have a staging or dev site. We also never worked in a Sandbox. We have proper and automated back-ups for our site, so if you are careful it is also fine if you work on the live version. Otherwise, please inform me what steps to take in your sandbox. Thank you! |
July 9, 2023 at 7:32 pm #13973457 | |
nadiaM-5 |
Thank you. This is quite a bit of work. I suppose that you will not delete plugins or make very dramatic changes, but probably test with deactivating some plugins and/or changing around some settings? Best, |
July 10, 2023 at 9:27 am #13976199 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Sure, I'll try to reproduce on the sandbox. If I couldn't then 'll try on your live site. Meanwhile, it is better if you take a full backup of your site and database. I'll update you as soon as I've some progress. |
July 11, 2023 at 5:40 am #14009971 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
I've setup everything in the sandbox with minimal setup possible. And looks like it is working fine for me. However, can you please take a look and fill any missing gap? And see if you can reproduce the issue in the sandbox? |
July 11, 2023 at 1:03 pm #14015319 | |
nadiaM-5 |
Hi Waqas, Thank you. Im also not sure why it is working correctly in the sandbox, and not on our live site? I was wondering, as it shows the German shipping cost in the German language now, but not the Dutch shipping cost in the German language, could it be that the shipping cost itself needs to be translated to German (the €2,95)? Is that possible? It seems as if it does not show it as it does not recognize it as German language? I, however, cannot find it anywhere to translate (I checked string translation and strings in admin fields). |
July 11, 2023 at 1:34 pm #14015657 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Yes that may need the translation, but can you check if shipping costs are correct? |
July 17, 2023 at 8:38 pm #14053449 | |
nadiaM-5 |
Hi, The shipping cost still does not show in another language. E.g. German shipping cost is shown in German, but Dutch shipping cost is not shown in German. Thanks in advance for your reply. |
July 18, 2023 at 8:34 am #14055863 | |
Waqas Bin Hasan WPML Supporter since 05/2014
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Yes please that 'll be great, if you can clone your site to a staging one. So we can try some detailed investigation without compromising the live site. I've enabled your next reply as private to provide access details safely. P.S.: Take your time to prepare a staging site, then try to reproduce the issue on it. It is also better if you try with minimal setup (i.e. only necessary or most required plugins). And then let me know. |
The topic ‘[Closed] Woocommerce shipping cost do not show in one specific language’ is closed to new replies.