On a Shopify storefront, the agent answers for the market of the shopper's page
ChangedOn a store with several Shopify markets, nothing told Shopify which market the shopper was browsing, so the agent's catalog answers came from the store's default market. A shopper on your UK pages could get prices in the default currency and links to the default market's product pages.
The agent now follows the page. On the embedded panel of a Shopify storefront, the tag reads the country the page is rendered for and the agent's catalog calls (search, lookup, product details) ask Shopify for that country, in the language it replies in. The price, the currency and the product links in its answers are the ones of that market. When the agent creates a cart, it asks Shopify for that country too.
Nothing to set up. It works with a market on a subfolder, a subdomain or its own domain. You don't need one site per market for this.
What doesn't follow yet. The hosted page and the Playground have no storefront page to read, so they stay on the default market. So does a storefront that doesn't expose its country to the page, which some headless builds don't. This change never sets the market of a cart that already exists. Stock and strikethrough prices per market, and the market of a cart the agent creates, are not verified yet.
On a store with one market, prices and currency don't change. Because the agent now asks for the language it replies in, product titles and links can come back in that language where your store publishes it.