Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported that variable products translated into Spanish using WPML were showing as out of stock, despite previous solutions that involved updating products in the original language and then re-saving them after minor edits.

Solution:
We recommended the following steps to address the issue:
1. Navigate to WooCommerce > WooCommerce Multilingual > Attributes tab.
2. Select the attribute from which the variations were created.
3. Click the button at the bottom to synchronize the attributes.
4. Go to the Status tab and click on Troubleshooting.
5. Select the options shown in this screenshot (https://prnt.sc/oKKMHMZPhIWT) and start the synchronization.
6. If the '_stock' field is set to 'not translatable' in WPML → Settings → Custom Fields Translation, change it to 'Copy'.
7. Clear site and browser caches.

If these steps do not resolve the issue, we suggested a deeper investigation which might require temporary admin access to the site for further troubleshooting.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum 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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Prosenjit Barman 1 month, 3 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
November 27, 2024 at 11:47 pm #16451974

simeonN-2

I found the problem! Its the wholesale prices premium plugin!

However, now I have other problems. I cant translate some of the strings. I localize them in theme and plugin localization and then go to string translation. I translate them but they don't appear on the front end.

The problem is that in the Spanish version, the wholesale price title that is displayed before the price, is not shown. That is both on the shop page and the single product page.

Also, the text that says that there are quantity-based discounts doesn't appear. Another problem is that the table with the quantity-based discounts doesn't appear.
In the cart page, the tooltip that shows the warning that the customer has not reached the minimum quantity is also not displayed.

Screenshot 2024-11-28 at 1.34.11.png
Screenshot 2024-11-28 at 1.32.11.png
Screenshot 2024-11-28 at 1.32.52.png
Screenshot 2024-11-28 at 1.33.00.png
Screenshot 2024-11-28 at 1.34.05.png
Screenshot 2024-11-28 at 1.31.35.png
November 28, 2024 at 6:07 am #16452364

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!

Thank you for the update. I'm glad you've identified the conflicting plugin. Reaching out to WooCommerce Wholesale Prices Premium for assistance is a great next step. The issue might be related to the configuration, and I hope they can help guide you to a solution.

Regarding the other issues, we would be happy to help. However, to maintain clarity and organization in each thread, we can only address one issue per topic. Since multiple issues were mentioned in your last response, it would be best to create a new ticket for each one. We will review them and be happy to assist you further.

For the string translation issue, I recommend following this Errata if you're using the latest WordPress version (6.7.1). WordPress introduced some changes in how translations are handled, which can cause issues with front-end translations. If you're using this version, try the workaround in the Errata, and hopefully, it will resolve the translation issue.

If the problem persists, please create a new ticket and provide as many details as possible so we can better understand the issue and assist you accordingly.

I hope you can understand. Feel free to reach out if you have any other questions regarding the variation issue. I'm happy to assist you!

Best regards,
Prosenjit