Skip to content Skip to sidebar

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

Problem:
The client is unable to see the 'Add to Cart' button on the translated product page in WooCommerce, even though the product is set to 'in stock'.
Solution:
1. We requested temporary access to the client's site to investigate the issue further, emphasizing the importance of having a backup for security purposes. We recommended using the UpdraftPlus plugin for backup.
2. We advised setting both 'product_type' and 'product_visibility' taxonomies to 'not translatable' to ensure proper functionality across different languages.
3. For the multicurrency issue, we identified a misconfiguration and resolved it by unchecking the 'Show only products with custom prices in secondary currencies' option.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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 further assistance is needed, please open a new support ticket.

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

Last updated by Kor 2 weeks, 1 day ago.

Assisted by: Kor.

Author Posts
September 25, 2025 at 11:17 am #17431971

ricahrdA

Background of the issue:
I am trying to show the 'Add to cart' button for a translated product on this page: hidden link. The button is showing correctly on the default language page: hidden link. I have set the product to 'out of stock' and re-synced the product stocks in the WooCommerce settings, and the translated product page shows 'out of stock'. When I set it back to 'in stock', it is still not showing the 'Add to cart' button. I have followed this guide: https://wpml.org/forums/topic/add-to-cart-button-doesnt-appear-in-second-language/ but the issue remains.

Symptoms:
The 'Add to cart' button is not showing on the translated product page, even though the product is set to 'in stock'.

Questions:
Why is the 'Add to cart' button not showing on the translated product page?
How can I ensure the 'Add to cart' button appears on the translated page when the product is in stock?

September 25, 2025 at 11:36 am #17432099

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us. I can see the missing "Add to Cart" on this page hidden link . I will require temporary access (WP-Admin and FTP) to a test site where he problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

September 26, 2025 at 5:37 pm #17437030

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I've checked and I don't have a solution for this and I will need to escalate this further to our 2nd Tier Support. I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

September 29, 2025 at 5:40 pm #17442033

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I have the copy of the site now and I will check and get back to you as quickly as possible.

September 30, 2025 at 6:05 pm #17446134

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I cannot find a solution for this, and I will escalate this further to our 2nd Tier Support for further assistance. I will come back to you once I've feedback.

October 6, 2025 at 12:40 am #17457893

ricahrdA

Hi Kor.

Do you have any updates from 2nd Tier Support?

Best regards,
Richard

October 6, 2025 at 12:53 am #17457897

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. My apologies for the delay. Our 2nd Tier Support is still checking on this. Anyway, we've tested this on our sandbox site and we're able to display the add to cart on our translated page hidden link .

Our 2nd Tier Support noticed that you've set the "product_type" and "product_visibility" taxonomy to "translate," which will break the site functionality. They are troubleshooting this further for you and I'll come back to you once I've feedback.

October 6, 2025 at 9:51 am #17459247

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. The issue is fixed when I deactivated the Multicurrency from WCML. Do you need that? hidden link

October 6, 2025 at 10:19 am #17459566

ricahrdA

Hi Kor,

Thanks for the update.

Can I ask what "product_type" and "product_visibility" taxonomy should be set to?

I've activated this one instead: hidden link and it seems to work.

Is there a way to setup multicurrency with WPML and woocommerce without a plugin?

Best regards,
Richard

October 6, 2025 at 10:21 am #17459576

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Both taxonomies should be configured as "not translatable".

Multicurrency should be supported; it's probably misconfigured. So, are you going to use hidden link or the one that comes with WCML?

October 6, 2025 at 10:39 am #17459678

ricahrdA

Hi Kor,

Ok - thanks, I will make the change to the taxonomies.

Our preference would be to use the one with WCML - what would be the next steps to see how it may be misconfigured?

Best regards,
Richard

October 6, 2025 at 10:42 am #17459697

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've unchecked the "Show only products with custom prices in secondary currencies" option and it seems to work now. Could you check?

Screenshot_62.png
October 6, 2025 at 10:53 am #17459728

ricahrdA

Hi Kor,

That looks like its working now - thanks!

Best regards,
Richard

October 6, 2025 at 10:54 am #17459729

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Please mark this ticket as resolved. Have a great day!