I have deactivated all the plug-ins except WPML, woocomerce and bodycomerce and it happens
Bodycommerce support tells me:
"We are using woocommerce core wc_get_cart_url function to get cart url through the ajax.
But it seems WPML doesn’t get the correct url for it."
I understand the issue you're experiencing. Please note that the "Divi BodyCommerce" plugin is not currently on our list of compatible plugins. Therefore, the issue you're having could be a compatibility issue as well.
However, From what I've observed, after adding a product to the cart, the link to the cart page does not display correctly in the popup, nor does it appear correctly in the mini cart on the header. However, after refreshing the page, the links function properly.
This suggests that the issue might be related to an event triggered when the product is added to the cart. If the BodyCommerce plugin has an option to add products to the cart using Ajax, could you try disabling this feature and see if the problem persists?
Additionally, please test with the default WooCommerce setup. Add a product to the cart and see if a ribbon appears containing a link to the Cart page. Check whether you are still redirected to the default language when clicking on that link. This could help determine if the issue is specific to the plugin or a broader configuration problem.
Let me know the update. I will be happy to help if you need further assistance in this matter.
Best regards,
Prosenjit
The topic ‘[Closed] Cart link is not pointing to the right language’ is closed to new replies.