How to get Shopify merchant URL From Checkout UI Extension src/Checkout.jsx file.

Topic summary

Getting the merchant’s shop URL (e.g., https://shop-name.myshopify.com) from within a Checkout UI Extension’s src/Checkout.jsx.

  • The poster wants to access the merchant URL during checkout and attempted to read it from the window object, but it isn’t working.
  • No additional implementation details or alternatives are provided; only the example URL and the failed window approach are mentioned.
  • No replies or solutions yet. Status: unresolved/ongoing.
Summarized with AI on December 23. AI used: gpt-5.

I need merchant URL I mean

https://shop-name.myshopify.com/

I have been tried from window, But It’s not woking