Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate a product from Polish to English and add it to the cart, but the product appears as out of stock and does not display an 'Add to cart' button.
Solution:
If you're experiencing this issue, we recommend checking the settings in WooCommerce → WooCommerce Multilingual & Multicurrency → Currencies. Specifically, look for the option 'Show only products with custom prices in secondary currencies' and ensure it is disabled. This setting can hide the 'Add to cart' button for some products when enabled.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.

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 4 replies, has 1 voice.

Last updated by Andrey 1 week, 5 days ago.

Assisted by: Andrey.

Author Posts
April 23, 2025 at 1:30 pm #16959974

Tomasz

Background of the issue:
I am trying to translate a product from Polish (PL) to English (EN) and add it to the cart. The issue can be seen on this page: hidden link

Symptoms:
I cannot add the translated product to the cart; it shows that it is out of stock. I expected to see an 'Add to cart' button, but instead, I got nothing and cannot add to the cart.

Questions:
Why is the translated product showing as out of stock?
How can I enable the 'Add to cart' button for the translated product?

April 23, 2025 at 5:54 pm #16961659

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

While waiting for one of my colleagues to be assigned to your ticket, please go to WooCommerce -> WooCommerce Multilingual -> Status -> Troubleshooting and click on "Sync Product Stock Quantity and Status"

NOTE: the count will reset most likely back to the same count, that is OK the process has ran, once it's done you go ahead and check again the stock in the front end and let us know your results.

April 24, 2025 at 12:18 pm #16964186

Tomasz

I just not working:

product in PL:
hidden link

and translation in EN:
hidden link

April 24, 2025 at 7:19 pm #16966013

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

This is Andrey. I will be assisting you further.

Does the same issue occur if you create a. new test product?

I've enabled debug information for this support ticket. Please refer to this link for instructions on how to retrieve this information from your site and provide it to us: http://wpml.org/faq/provide-debug-information-faster-support/

April 25, 2025 at 8:36 am #16967408

Tomasz

Yest- product I send is newly created.

For some products it works
hidden link

and for others not

hidden link

it shows that product is out of stock:
hidden link

but is not:
hidden link

cannot find any pattern.

April 25, 2025 at 1:32 pm #16968813

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

April 29, 2025 at 4:02 pm #16980210

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the information.

We just realized there is a new version of the WPML plugins. Am I permitted to update them and install a plugin like Adminer to check the database? Can you also confirm that the full backup has been completed?

April 30, 2025 at 1:10 pm #16984077

Tomasz

you can update WPML.
Site is live. We are making backup everyday but it is ecommerce so it will be good if nothing breaks 😉

April 30, 2025 at 2:44 pm #16984559

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Sure 🙂 It should be fine now. Can you please check?

The option "Show only products with custom prices in secondary currencies" was enabled in WooCommerce → WooCommerce Multilingual & Multicurrency → Currencies, which was hiding it for some products.

WooCommerce-Multilingual-Multicurrency-‹-Lovli-—-WordPress.png