Home›Support›English Support›[Resolved] Woocommerce not working as expected with wpml, for the secondary language
[Resolved] Woocommerce not working as expected with wpml, for the secondary language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with WooCommerce functionalities on their Greek version of the site. Specifically, the minimum product quantity that can be added exceeds the actual stock, and the Availability Section is not displayed after selecting a product variation.
Solution: We discovered that disabling the WPML String Translation plugin resolved the issue. The problem was likely due to incorrect translation of strings that are not meant to be translated because they are related to settings, not text. For example, strings like
woocommerce_allowed_countries
and
woocommerce_notify_no_stock_amount
should not be translated. We recommend the client to delete all such strings from the String Translation table. If the issue persists after cleaning up the table, we suggest setting up a test site with WPML to further investigate the problem. It may also be helpful to contact the plugin provider, such as Chrocoblock, for assistance with testing their plugin on the test site.
Please note that this solution might be outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket 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.
I need a little help. I use wpml, my original version is .com (english) and the secondary is .com/el/ (greek), some woocommerce functionalities do not work as expected.
1. The minimum products that can be added normally in the original version, in the greek version although our stock is defined we can add more than the actual stock.
2. The Availability Section (for example after choosing a size: 2 in stock) is not displayed in the greek version
English version: hidden link
Greek version: hidden link
**the greek actually can redirect you, so re-enter to verify it for yourself that you are using greek version too.
1. try to select one variation in each version:
greek version does not show availability (a2)
english version shows availability (a3)
2. also try to add more than the actual stock that we set for a variation, you will see it keeps adding although we dont have that amount of stock, (check english version there it works normally)
I dont see any notifications about config issues at WooCommerce > WooCommerce Multilingual & Multy-Currency!
For the custom fields that relate to WooCommerce addons at WPML > Settings > Custom Field Translation , please check the below screenshot and advise me for which field what to choose
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website 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
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
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.
For example, on product "91" I can not confirm an issue regarding stock.
For example, the product has in size L two available products in each language on the backend and I have not any issue with adding those products in Greek to the cart.
It is not possible in any language to add more than 2 products to the cart, as this is the declared stock for this variation and it is synced between languages, as expected.
The only issue seems to be a display issue, that is related to your product template from JetWoo Builder or even another plugin.
I am referring with this to the text:
"Availability: Only 2 left in stock"
This text does not show up in Greek, even though it is translated on WPML String Translation.
In order to investigate this issue I will try to create a copy of your websiote for testing it on a virtual server and then get back to you.
Thank you for your prompt response and for the information regarding the known issue with WooCommerce Multilingual variable product stock status. I appreciate your efforts in diagnosing the issue with product "91" and your insight regarding the potential display issue related to JetWoo Builder or another plugin.
However, I must report that the stock issue seems to persist under certain conditions. Specifically, for product size "S," it appears that in the Greek version of the site, it's possible to add more than the declared stock of 2 items to the cart, which contradicts the functionality observed in the English version, where the limit is enforced as expected. This discrepancy suggests that the problem extends beyond a simple display issue.
Given the complexity of this matter and its impact on our e-commerce operations, I kindly ask if you could investigate this particular aspect further. Your initial assessment has been invaluable, and I believe we might be overlooking a scenario where the stock synchronization fails under specific configurations or interactions with other plugins.
Moreover, I welcome your initiative to create a copy of the website for testing on a virtual server. I am hopeful that this approach will yield insights into both the display issue related to the availability text not showing up in Greek and the underlying stock management discrepancies.
Please let me know if there's any information or assistance I can provide to facilitate this process. Your support is crucial to us in ensuring a seamless shopping experience for our customers across all languages supported by our site.
Looking forward to your findings and recommendations.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
On a copy of your site, the issue remains when testing only with the Twenty Twenty-Four Theme, WooCommerce, Elementor, JetWooBuilder For Elementor, and WPML plus our addons.
This seems to be an issue between JetWooBuilder For Elementor and WPML.
Would you be able to install the latest version of JetWooBuilder For Elementor on a test site which I will provide, to try to recreate the issue and then escalate it internally?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you!
I need this test site to confirm a general issue and escalate it together with a copy of this test site to our compatibility team.
One-Click-Login: hidden link
Please do not migrate your whole website to this test site. I only need you to install "JetWooBuilder For Elementor" in its latest available version and you recreate the issue with a simple example.
In case Elementor PRO is required, I would appreciate it if you could install and activate Elementor PRO by using your Elementor account for this testing purpose.
The test site will be deleted automatically after not having been accessed for more than 7 days.
Please leave me a short message on this ticket, once you have set up the site.
i have this message now here. should i create the greek version of the product? or will you do it?\
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.