Shopify multicurrency switch with JS only

Shopify multicurrency switch with JS only

Shopify Partner
18 1 4

I'm trying to implement Shopify multi currency with using JS - so no SSR option.


I am able to make a switch to desired currency by appending: ?currency=USD to the URL and also I can notice a cookie being updated: "cart_currency".


Although when I wanna reset the cookie and revert to the default options regarding currency this cookie cannot be deleted. It deletes but then after refresh it returns back to how it was.


Any developer help and guidance on this topic would be appreciated. I've read all possible forums, documentation, etc... I don't wanna implement form with liquid or SSR I am just focused on how to reset this cookie/ currency code.

Shopify Expert
Replies 0 (0)