Skip to main content
AppNavigation opens app screens from JavaScript. Use it instead of browser navigation APIs such as window.location, history, or links.

Global name

API

Methods

Opens the cart.
Opens a product detail page. The gid://shopify/Product/ prefix is optional.
Opens the quick add flow for a product. The gid://shopify/Product/ prefix is optional.
Opens a collection. The gid://shopify/Collection/ prefix is optional.
Opens an external page. Validate external URLs before you pass them.
Opens the preferred store picker. You can pass a variant ID.
Opens the store availability screen.