Skip Navigation

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 2 replies, has 0 voices.

Last updated by mohammadS-27 1 hour, 8 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.