Closed WangXiaoRi closed 1 month ago
When a cart is created in a country context, the resulting response is in the specified country’s currency. https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/markets/international-pricing
Sorry, I am not getting what exactly is the issue here.
Would you like to make it brief?
I mean that countryCode can only take effect when the shopping cart interface is created in the shopping cart, and other interfaces of the shopping cart are useless, so there is no need to add internationalization. So you may need to add a note to countryCode to explain this situation.
This is an optional function to display the currency is specified country code. So it won't make much affect in the app.
Also, tou have an option to pass in the country code in cart under buyer identity attribute.
On Mon, 23 Sep 2024, 12:47 pm WangXiaoRi, @.***> wrote:
I mean that countryCode can only take effect when the shopping cart interface is created in the shopping cart, and other interfaces of the shopping cart are useless, so there is no need to add internationalization.
— Reply to this email directly, view it on GitHub https://github.com/imsujan276/shopify_flutter/issues/92#issuecomment-2367376091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVH7MLBDY73KBDF2DXK6ZDZX64INAVCNFSM6AAAAABOVF7EWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRXGM3TMMBZGE . You are receiving this because you commented.Message ID: @.***>
ok
It is invalid to use countryCode.
cartBuyerIdentityUpdate mutation Updates customer information associated with a cart. Buyer identity is used to determine international pricing and should match the customer's shipping address.