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
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

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

This topic contains 5 replies, has 3 voices.

Last updated by Bruno Kos 1 year, 11 months ago.

Assisted by: Bruno Kos.

Author Posts
September 11, 2023 at 8:51 am #14373807

pranavT

I have a problem with translated products in WooCommerce. website first language is Arabic and Translated in English. Below I have mentioned my issue

Example:
1) Product quantity 1 in Arabic and English.
2) If customers purchase a product in Arabic, "Out of Stock" appears in both languages. This flow is working properly.
3) But if the customer buys the product from English then the 'Out of Stock' status appears only in the English product and not in Arabic.

Please guide me how to resolve this issue.

September 12, 2023 at 8:20 am #14381353

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. We will do our best to help you to resolve the issue.

Hope you are following the steps described here for translating the products from Arabic to English.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/#products

Please create a test product and translate it into English. Then make sure the issue is existing or not.

--
Thanks!

Bigul

September 15, 2023 at 8:49 am #14401583

pranavT

Hello, Thanks for you reply.

We are creating product through WooCommerce API, and we have enabled the WPML auto translation. and once product created for both language we are just placing the order into the site.

Order place scenario is: we have the product through Arabic language and then we are placing the order through English language for cart added product(in our case product stock is 1) when we place the order in admin side for English now it is showing perfect(out of stock). but for Arabic still it's showing IN-Stock, for both language product quantity is 0.

September 15, 2023 at 11:30 am #14402895

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Can you tell if you have a staging/testing website where we can do some tests?

I would like to make dummy orders there to see what happens in an environment where only WPML and WooCommerce are active.

If you have it, would you be willing to provide me with WordPress and FTP credentials so I could investigate the issue directly?

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

I marked your next reply as private so that you can safely add credentials.

September 15, 2023 at 12:53 pm #14403337

pranavT

While checking this issue we found something our the comment on your website as same issue which we are facing.

for your reference below attached link
https://wpml.org/forums/topic/stock-status-doesnt-change-when-order-placed-on-2nd-language/

We are applied same solution on our website and it's working properly but as we have checked there is plugin file so it will remove if we update the plugin in the future?

Is there any fixed solution for this?

September 15, 2023 at 3:09 pm #14404129

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

I see - I'm afraid that the permanent solution has not been implemented yet, but I can keep this thread updated as soon as there is some movement in the development ticket.

So yes, you will have to update WooCommerce multilingual with a workaround once again before it is permanently fixed.