Background of the issue:
I am developing a bilingual WooCommerce website for a client. The website is English and French. We are using product tables to display products. Each product has an Add to Cart button. However, when I switch from English to French, the Add to Cart button does not translate. It should say "Ajouter au panier". Link to a page where the issue can be seen: hidden link
Symptoms:
The Add to cart button doesn't translate and remains at Add to cart.
Questions:
Why does the Add to Cart button not translate when switching languages?
How can I ensure the Add to Cart button translates to 'Ajouter au panier' in French?
I am using product tables for a plugin called Barn2. For some reason, the add to cart button doesn't translate to French. I search in String Translation for the button and I also added custom code with Code Snippets. Nothing works.
Thank you. That might be compatibility issue between Bar2 plugin and WPML. I can take a look for initial troubleshooting:
I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Thanks.
The topic ‘[Closed] WooCommerce Add to Cart’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.