Home›Support›English Support›[Resolved] Bricks builder - add to cart not showing on translated product page
[Resolved] Bricks builder - add to cart not showing on translated product page
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.
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?
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.
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
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.
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.
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.
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?