Price Increases after calling cart/add.js endpoint

We are noticing a price increase when calling the cart/add.js endpoint with our webid and quantity across multiple of our stores. We haven’t made any internal changes to how this part is handled, and curious if anyone else has seen this in their sites?

Any ideas on how we can test this functionality? Looking into variants and products, the prices on our product pages are correct. Just don’t want what could have changed.

Hi @skwilder

Would you mind sharing your store URL and password if required?

1 Like

Hi @skwilder
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

1 Like

After some investigation on this issue we have resolved the issue. We have a custom listing of product pages in which we should the prices from our database.

That price didn’t consider Geolocation being installed on the customers Shopify account. When we were visiting a store with geolocation enabled and we were from canada (vs united states) the currency was converted to CAD.

We were able to resolve this internally since we are using custom pages.

The piece of data that allowed us to resolve this was window.Shopify.currency percent was the same percentage we were seeing the price differed.