Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi,
we are using GrapQL API to integrate with Shopify from our mobile app. And we have a strange issue, that until the user will not provide his shipping address then from the Checkout API in the lineItems we are not receiving priceV2 value (we only compareAtPriceV2 value) for specific products (so we don't know what is the discounted price for a specific product), but at the same time totalPrice returned in the response is based on the discounted prices.
And the situation is changing when the user will provide his address, then checkout API is returning both priceV2 and compareAtPriceV2 values.
Why it behaves like this? how we can get discounted prices for products before the user will provide his address?
Thanks in advance
Solved! Go to the solution
This is an accepted solution.
Can be marked as resolved. Dev had a bug in the mutation.
This is an accepted solution.
Can be marked as resolved. Dev had a bug in the mutation.
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By