Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 1 month ago.

Assisted by: Prosenjit Barman.

Author Posts
May 6, 2024 at 6:31 pm #15599071

ericR-40

See this video --> hidden link

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

Thanks!

May 7, 2024 at 12:36 pm #15601928

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

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.