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 15 replies, has 3 voices.

Last updated by Marcos Vinicios Barreto 4 years, 10 months ago.

Assisted by: Marcos Vinicios Barreto.

Author Posts
February 5, 2020 at 9:47 pm #5434517

marieN-3

The main language of the site is in English and it is translated to french. On the shop page in English, the product appears fine, whereas in French, the product appears "out of stock" and the price is also not correct.

Link to a page where the issue can be seen:
English version: hidden link
French version: hidden link

Look at the first product - "Pondicherry top botanical print". In english the price is 130SGD whereas in French the price is 128.46. when you click on the product, suddenly it appears to be in stock but the price remains incorrect.

In the backend for french, the product is in stock as this is copied from the english version and the price also looks fine. See the attached image.

French product.png
February 6, 2020 at 6:08 pm #5441547

Marcos Vinicios Barreto

Hello,

Thank you for contacting WPML Support. As regarding the stock issue you can sychronize them from your WordPress Dashboard > WooCommerce > WooCommerce Multilingual > Settings, click the blue 'Troubleshooting' link at the bottom of the settings tab, then choose the option to sychronize your products stock and so on.

As regarding the incosistency in prices, please, review your multi currency settings for any possible automatic exchange rates as described at: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#enabling-multiple-currencies.

Please, let me know the results, have a nice day.

February 9, 2020 at 11:24 pm #5457159

marieN-3

Hi,

1. I have already done the product syncrhonization multiple times before posting this, but it doesnt seem to work. As explained earlier, on the shop archive page, the product is shown as "out of stock" but if I click on the individual product, then there is no problem.
2. Regarding the price issue, the price difference is in the base currency itself and not converted currency. The whole shop base currency is SGD, so I don't think it has anything to do with the multi currency setup.

February 10, 2020 at 5:53 pm #5463877

Marcos Vinicios Barreto

Hello,

Please, take a look at my previous reply and let me know when the migration process is done. Thanks.

February 11, 2020 at 10:46 pm #5472829

marieN-3

Hi Marcos,

I am more comfortable setting up a staging environment where you can do the debugging. If this is ok for you, let me know so that I can provide you the details.

Thanks

February 12, 2020 at 6:07 pm #5480261

Marcos Vinicios Barreto

Hello,

Thank you for the updates. A staging environment is also of help to the investigation process, however in some specific cases there could be some server limitation, cache issues and so on. If the migration is not an option for you, then we can begin working in your staging environment and then if any server issue is found I can migrate it myself to our test servers, is it okay for you? I will enable a private reply so you can send any access details safely, thank you for your collaboration and continued patience, have a nice day.

February 14, 2020 at 7:58 pm #5496869

Marcos Vinicios Barreto

Hello,

Thank you for the provided details. I took a detailed look at your website and noticed the 'out of stock' issue is solved once the product is resaved in the default language from your WordPress Dashboard which makes me think we have some sort of server-side cache mechanism intefering here. Can you please confirm with your host this behavior and if there's any kind of cache activated, can you please ask them to temporary disable it for the staging environment?

Besides that you are also using the 'WooCommerce Bulk Stock Management' plugin which could interfer with the stock sychronization feature of the WooCommerce Multilingual plugin. In any case, let's proceed one step at a time, please, confirm if we have a server-side cache mechanism and we'll proceed with the investigation process. Thank you for your collaboration and continued patience, have a nice day.

February 15, 2020 at 1:04 am #5497351

marieN-3

Hi,
I am using siteground, and have disabled the server side caching for the staging website. After this, I tried to do a product sync again, but no success.
Thanks

February 18, 2020 at 1:53 am #5511287

Marcos Vinicios Barreto

Hello,

Thank you for the updates. In this case we should consider a migration to our test servers, it will help us to isolate the issue on a server environment basis. Please, proceed with a migration as explained in my previous reply and let me know when the mogration process is done. Have a nice day.

February 19, 2020 at 2:03 am #5519381

marieN-3

Hi Marcos,

The migration is completed. Please proceed with your analysis. thanks.

February 19, 2020 at 6:57 pm #5526959

Marcos Vinicios Barreto

Hello,

Thank you for the updates. I tried a detailed investigation in our test server and also confirmed the same issue, I even tried another theme and the issue still persists, this is why I forwarded your ticket to our second level support for a detailed look, I will update you here as soon as I have some more details from them. Thank you for your continued patience and understanding, have a nice day.

February 21, 2020 at 1:49 am #5536875

Marcos Vinicios Barreto

Hello,

Thank you for your continued patience. As per recommendation of our second level support team, I noticed updating the product in the default language makes the 'out of stock' label to disappear, now me and our second level support are trying alternatives if it is possible to make it in a bulk instead of updating one product at a time. I will update you here as soon as I have a more accurate reply regarding it. Thank you for your understanding, have a nice day.

February 23, 2020 at 6:38 am #5548315

marieN-3

Hi Marcos, did you manage to find a solution? Also, let's say that we resolve this issue by manually updating all the products (it'll be a pain). Would the product stock be in sync after this whenever a purchase is made on any of the languages? Can you test this as well?

Also, what is the issue with the product price in base currency? any clue on that yet?

Thanks

February 24, 2020 at 8:28 pm #5557323

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Hi there, Marcos is off for a few days so I'm stepping in to help out. Our 2nd tier developers are currently working into this. As for the price, how are you converting the price? Do you have it automatically converting, or did you set up the price conversion? Also, do you have taxes inclusive or exclusive of the price? Sometimes this can make a difference in prices too.

March 2, 2020 at 1:14 am #5595709

marieN-3

Hi Lauren,

do you have any update on this? it has been quite some time since this issue has been reported. Can you please expedite to find a solution?

Regarding the currency conversion, the plug-in used is woocommer currency converter widget. There are no taxes on the products. Also, if there was a difference in converted currency, that would have made sense. but the base currency of the store (SGD) itself has different values in French language. You have all the necessary details in the website on your server (please check the comments above).

When do you think I can get a resolution on this topic?
thanks.