This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported that WooCommerce product variations were disappearing after translating a product from Bulgarian to English, resulting in the absence of the 'Add to Cart' button. Additionally, there were issues with incorrect pricing in the main language with the main currency. Solution: We found that the issue was due to the 'Show only products with custom prices in secondary currencies' option being enabled in the WCML multicurrency settings. We recommended two solutions: 1. Disable this option to display the variations correctly. OR 2. Set custom prices for each product/variation if the option needs to remain enabled.
Please note that this solution might be irrelevant if it's 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 you still need assistance, please open a new support ticket.
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.
Woocommerce variations seem to disappear after translating a product. My main language is Bulgarian and the translation to English is all good, but variations are missing and respectively there is no add to cart button.
Please review the details to my website and help me resolve this problem. In taxonomy settings of WPML, they are marked as "Translatable" and they have translations.
Also pricing sometimes appears to be wrong in main language with main currency. Not sure what can be causing this..
- Please make a backup before proceeding.
- Disable security and cache plugin
- Make sure variations are translated from WooCommerce > WooCommerce Multilingual > Taxonomy > Variations
- Click Sync button at bottom if it appears
- Go to WPML > Support > troubleshooting and try the button "synchronize taxonomy" for Products and Variations
Unfortunately this did not work. Still no variations shown in English language. What can be done? I can provide you with credentials to log-in if needed.
1) Please share URL to the one product example where I can see the issue.
2) Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.
Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.
I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.
I would need to access both your site's wp-admin and FTP account, if possible.
I have enabled the private username and password fields in your next reply.
I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.
You can safely add your information into these fields.
I have checked and found the issue, you have enabled the option from WCML multicurrency> "Show only products with custom prices in secondary currencies".
if you disable this it shows up correctly or you need to set custom prices for each product / variation.
Thank you!! That worked like a charm. What could be causing the administrator to see price with 0.50 cents less than the pricing set in product detail page? Is it related to WCML ? All visitors see correct pricing, but logged in sees about 50-60 cents less. I tried to disable all plugins and use twenty twenty-four theme, but the issue remains..
If the issue still happens without WPML plugins then it is probably related to something else. If yes, I advise further checking / hiring a developer to check or contact WooCommerce support.
Regards,
Drazen
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.