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.

This topic contains 22 replies, has 2 voices.

Last updated by Bigul 7 months, 2 weeks ago.

Assigned support staff: Bigul.

Author Posts
June 19, 2020 at 11:10 am #6411575

violaH-2

Hello,

Stock amount in German and English product is not identical.

German 2-0-5-5 for S-M-L-XL
hidden link

English 5-5-5-5 for S-M-L-XL
hidden link

it seems that the stock available is taken from the product variant with the lowest WordPress ID (5)

I did the following
- update product translation
- update product german
- update product english
- Woocommerce - Multilingual - troubleshooting:
Sync product stock quantity and status ( synchronizing min stock between translations ) 1569 left
the sync needs 5 seconds
Sync product stock quantity and status ( synchronizing min stock between translations ) 0 left
with reload of that page
Sync product stock quantity and status ( synchronizing min stock between translations ) 1569 left

June 19, 2020 at 2:16 pm #6412635

violaH-2

English Product Link
hidden link

June 22, 2020 at 6:57 pm #6429203

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

This may be happening because of the older version of WPML and WooCommerce. So please try the following steps after a full site backup and make sure the issue is existing or not.

1) Upgrade to the latest version of WooCommerce(4.2) - hidden link
2) Upgrade to the latest version of WPML(4.3.15 series)
3) Clear all types of caches
4) Open Product for edit in the default language
5) Make a minor change in the contents to refresh the translation settings. Update the Product
6) Update the translation

--
Thanks!

Bigul

June 29, 2020 at 6:49 am #6473043

violaH-2

I did the upgrade and discovered that stock is not calculated right for products with umlauts in the custom attribute

with ascii custom attribute
hidden link

with umlauts in custom attribute
hidden link

June 29, 2020 at 2:26 pm #6477675

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. We have a known issue while using special characters for Custom Attribute labels. So this may be related. Please check the following URL for more details.

https://wpml.org/forums/topic/can-not-translate-swedish-attribute-label-containing-aao-to-german/

Therefore please share with me the values you are using for the German custom attribute labels. It will help us to troubleshoot the issue on our test installations.

--
Thanks!

Bigul

June 29, 2020 at 4:01 pm #6478881

violaH-2

hello,
the custom attribute is named "Größe" and the values for that are below.
It is a custom attribute and used for product variations.

"S | M |  L |  XL"

"3-6 Monate / 60-66 cm | 6-12 Monate / 66-76 cm | 12-18 Monate / 76-86 cm | 18-24 Monate / 86-93 cm"

"1-2 Jahre / 86-92 cm | 3-4 Jahre / 98-104 cm | 5-6 Jahre / 110-116 cm | 7-8 Jahre / 122-128 cm | 9-11 Jahre / 134-140 cm | 12-14 Jahre / 146-152 cm"

1.png
June 30, 2020 at 9:18 am #6483673

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. But I am not able to reproduce the issue exactly in our test installations with the latest version of WPML(4.3.16 series). Therefore I have a request please visit the following Sandbox site and check you can reproduce the issue or not. It is a fresh installation WPML plugins and WooCommerce, and the theme is default 2020. Because as part of our escalation process we have to make sure the issue existing in minimal or fresh installations.

Sandbox Site Login URL:- hidden link

English Product:- hidden link

German Product:- hidden link

Are you translating the Products Manually? If so, please translate the products using WPML Translation Editor(from WooCommerce>>WooCommerce Multilingual>>Products) and check is there any difference in the result or not.

--
Thanks!

Bigul

July 1, 2020 at 10:25 am #6493929

violaH-2

Hello,
thank you for the system.

For translation I use Woocommerce - Multilingual - Products

I have added a product first in German with "Größe" as variant attribute and translated that to English with "Size". It shows correct data: sizes, stock, price. So in the sandbox it is ok.

hidden link

hidden link

What is causing the problems on kontaktil.com and on the dev system web.kontaktil.tirol
Primary Language? it is German there
Other Plugins? Stock management plugins?

please let me know your suggestions.

July 1, 2020 at 3:17 pm #6497077

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. We have released a new version of the WPML(4.3.16 series). Please upgrade to the latest version after a full site backup and check is there any difference in the result.

Please note, may you have to visit Plugins>>Add New>>Commerical tab and click on *Check for updates* button to get the upgrade links. This step will help us refresh the installer caches. Now WPML is releasing as a batch in the first few days of the release. So the upgrade notice will be visible only to a few of the customers. The count will increase each day. It will help us handle the situation easily incase of any bugs in the release.

If the issue exists, please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking.

Please check the following links for more details about our private information sharing policies.

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

hidden link

--
Thanks!

Bigul

July 2, 2020 at 8:50 am #6501817

violaH-2

The products with custom attributes definition in ASCII characters does show correct stock information 1-2-3 (variants 10-20-30) in both languages

hidden link

hidden link

July 2, 2020 at 1:53 pm #6505385

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the login information. It requires further checking. So please allows me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server.

--
Thanks!

Bigul

July 2, 2020 at 3:14 pm #6506107

violaH-2

yes you can do this

July 3, 2020 at 7:35 am #6511195

violaH-2

i suppose, the coding of a German product custom attribute is different from a coding in English or other language

attribute_grose - English coding
attribute_groesse - German coding

Could kindly ask a developer about this?

July 3, 2020 at 9:42 am #6512915

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. This may be happening because of the misconfigurations in the Database. I made a copy of the site and working on it now. Will check about this with our second-tier team and get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

July 6, 2020 at 2:31 pm #6531419

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

The issue is existing after the initial debugging steps and the result is the same with the Dev version of WPML plugins. So I have forwarded the details to our second-tier team and waiting for their expert opinions. Please wait. We will get back to you soon.

--
Thanks!

Bigul