Background of the issue:
I am trying to translate the URL in the sidecart for the German version of my site hidden link. When I add a product to the cart, the sidecart shows as expected.
Symptoms:
The 'Warenkorb anzeigen' link in the sidecart is linking to the Dutch page instead of the translated German page. Sometimes it shows the correct link, but usually, when there is a new session, it doesn't.
Questions:
Where can I change the link for the 'Warenkorb anzeigen' to ensure it always points to the German page?
I just checked your site, and I don't see the "Warenkorb anzeigen" button on the sidecar feature. Please see the attached screenshot.
Have you removed it?
If not, how can I see it?
Also, please tell me how you added this sidecart feature.
Is it a plugin that enables it?
Please try the following which may solve this problem on your site.
1. Go to WPML -> Languages.
2. Scroll down to the 'Language filtering for AJAX operations' section.
3. Check the 'Store a language cookie to support language filtering for AJAX' option.
4. Click the 'Save' button.
5. Check if the problem is solved.