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.
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.