Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
In my api I need to send cart in store main currency from cart page.
So I make call like below
`/cart.json?currency=AUD`
Here AUD is store main currency.
Now what happen after this ajax call user selected currency is change to AUD.
I can stop that with make ajax call again with
`/cart.json?currency=${window.Shopify.currency.active}`
but cart can change many time it is not proper solution
So any help regrading get cart in main currency without change user selected currency would be great.
I'll also try to convert cart in main currency manually via js but not getting exactly same value as don't know exact conversion api rules.
The main goal I try to achieve get cart in store main currency on cart page.
Hi,
Need to check your backend if you want you can contact us.
Well issue is related to frontend so I don't think we need access of backend
If you can provide any solution for frontend then it would be great
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025