Home › Forums › WoodMart support forum › BUG : Add to the basket whithin a translated version
BUG : Add to the basket whithin a translated version
- This topic has 9 replies, 3 voices, and was last updated 3 years, 6 months ago by Eric Watson.
-
AuthorPosts
-
March 8, 2021 at 9:52 am #271771
jsfrancParticipantHi,
When we use a translated version of the website, the add to cart button doesn’t work.
There must be a problem with the Weglot plugin wo deal with the automatic translation of the site.
I asked them about this and they said to me that the problem comes from the template it-self.
Can you please have a look at this ?
This is a major problem to us because we can’t sell product to foreign country because of this.
Thanks for you help.
March 8, 2021 at 10:24 am #271784
Artem TemosKeymasterHello,
It looks like this plugin is not compatible with our theme custom AJAX add to cart. You can try to disable it in Theme Settings -> Product page.
Kind Regards
March 8, 2021 at 10:31 am #271785
jsfrancParticipantThanks for this answer. I disabled it and it worked !
The problem is the same on the product grid : https://www.hopstore.fr/it/categorie-produit/les-houblons-bio-en-pellets/
What can i do ?
Would it be possible for you to make it compatible ?
March 8, 2021 at 10:50 am #271795
Artem TemosKeymasterProduct grid AJAX is provided by WooCommerce by default. Could you please check how it works with a default theme?
March 8, 2021 at 11:45 am #271816
jsfrancParticipantI chose to disable the “quick shop” option so that the customer go directly to the product page and it solved the problem.
But will it be possible for you to make the Ajax compatible with the Weglot plugin behavior ?
TX again for the quick support
March 8, 2021 at 12:09 pm #271826
Artem TemosKeymasterWe will consider adding Weglot compatibility in the future. Currently, we officially support only the WPML plugin for translations.
Kind Regards
March 9, 2021 at 10:15 am #272074
jsfrancParticipantFor your information, the Weglot support told me that it’s possible to create a bridge with those function : https://developers.weglot.com/wordpress/helpers-functions#weglot_get_current_language
Where can I can find the Ajax code that’s causing problem to show them ?
Kind Regards
March 9, 2021 at 10:27 am #272085
Artem TemosKeymasterYou can find the AJAX quick shop function in the file
woodmart/inc/integrations/woocommerce/modules/quick-shop.php
and AJAX add to cart here
woodmart/inc/integrations/woocommerce/functions.php
May 26, 2021 at 6:52 pm #295723
jsfrancParticipantHI,
Did you change the add to cart function on the version of the template ?
Sorry, but I’m getting the same bug as before with the translated version of the website.
I check on the backoffice and every ajax function id disabled.
I don’t know what to do. Can you help ? Please.
Thanks,
JS
May 27, 2021 at 6:33 am #295824
Eric WatsonParticipantHello,
Please make the full backup of your site and update the theme to the recent version 6.0.4.
Best Regards
-
AuthorPosts
Tagged: translation
- You must be logged in to create new topics. Login / Register