How to correctly generate product URLs in a multilingual Shopify Customer Account Extension?

Hi @Celine_Lamotte,

Thank you for sharing that request id. I’ll be DM’ing you directly with more details on the behaviour occurring with this store specifically.

For anyone following along with this thread, if you’re experiencing the same issue with a Storefront API query where the product or the product’s onlineStoreUrl field is returning null, please be sure to check the following on your store in question.

If the product is returning null:

If the product.onlineStoreUrl is returning null:

  • Ensure that the product is published to the Online Store Channel

  • Ensure that the Online Store channel is not password protected, and the storefront is live and accessible for customers to browse.