Hi,
I’m using WPML currently. When I click add to cart button on catalog page, the correct currency for the product is shown in the AJAX cart but when I click add to cart button on single product page, the default USD currency is shown in the AJAX cart instead of the currency on the single product page
The difference I noticed is on catalog page, the add to cart button has this link
https://www.mysite.com/?add-to-cart=155889
But on single product page, no link is shown when I hover on the add to cart button.
So maybe these buttons work differently?
I found that I need to set this option on WPML “Store a language cookie to support language filtering for AJAX” to make it work but there are still problems.
For add to cart on catalog page, I don’t even need to set “Store a language cookie to support language filtering for AJAX” option on WPML but it works correctly.
For add to cart on single product page, it only works when I set that option and it has some delay for the price in cart to change from USD to correct currency so users will obviously see the USD first. Also, add to cart on single product page will not work on Incognito browser mode at all.
Could you advise why this is happening?
Thank you!