Skip to content Skip to sidebar

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
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Supporter timezone: Europe/Madrid (GMT+02:00)

This topic contains 8 replies, has 0 voices.

Last updated by Carlos Rojas 19 hours, 44 minutes ago.

Assisted by: Carlos Rojas.

Author Posts
July 10, 2025 at 6:57 am #17221821

mohammadS-27

Background of the issue:
I am trying to translate my products on a site that is currently under development using WPML.

Symptoms:
When I translate a product that has stock, the translated version shows a stock of zero, and I can't modify it. Additionally, when I add any of the translated products to the cart, the cart remains empty and doesn't accept the products.

Questions:
Why does the translated product show a stock of zero?
Why can't I modify the stock of the translated product?
Why does the cart remain empty when adding translated products?

July 10, 2025 at 12:28 pm #17223847

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

1.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

2.- Once the WordPress memory limit then follow these steps:
- Edit a product in the original language
- Make a small change in the content of the product, especially in the variations or the price
- Save the changes
- Update the translation
- Flush any cache memory that might exist
- Double-check if the issue has disappeared

Regards,
Carlos

July 12, 2025 at 5:35 am #17229750

mohammadS-27

Yes, I have edited all the previous products and it worked, but this is not a solution.
Every time I translate a product, I have to open the translated product and make any change for it to get its stock.
I have a huge number of products, and this solution is not practical.

July 14, 2025 at 10:00 am #17232896

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank your feedback.

If you need to sync the information of the products in bulk, then you can go to Woocommerce -> Woocommerce Multilingual & Multicurrency -> Status tab -> Troubleshooting link (bottom right) -> Select the checkboxes necessary as described in this guide: https://wpml.org/documentation/support/wpml-troubleshooting-options/#troubleshooting-woocommerce-multilingual-and-multicurrency

Don't forget to flush all cache memory.

July 15, 2025 at 10:46 am #17237382

mohammadS-27

Still same problem

July 15, 2025 at 11:14 am #17237474

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

1.- Please share a URL where the issue can be seen.

2.- Share the access credentials to the site in your next message, which I have set private. That way, I will be able to double-check the configuration and reproduce the issue.

3.- Are you creating these products manually or importing them?

July 15, 2025 at 12:57 pm #17237865

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your message.

The product you shared has stock in the secondary language: hidden link

July 15, 2025 at 1:10 pm #17237927

mohammadS-27

check this product please
hidden link

Screenshot 2025-07-15 at 16-09-48 Products ‹ Cinafor — WordPress.png
July 16, 2025 at 8:08 am #17240436

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you very much for sharing this URL. I was able to reproduce the issue, and to solve it, I had to re-save the product manually in Arabic.

Do you authorize me to activate/deactivate plugins and themes to run further tests to isolate the cause of this issue? If you authorize me, please confirm you have created a full site backup that you can restore if necessary.

As an alternative, you can create a staging site (using WP Staging for free) with a copy of the production site where we can safely run all the tests.