Navigation and Routing Actions
These actions move the user to a new screen or page inside the app, or open external content. Think of them as “client-side routing” for Superfans apps.
These are the following actions available in the SDK.
| Action | Purpose | Document Link |
|---|---|---|
| Open Product | Opens a specific Product Detail Page (PDP). | Open Product |
| Open Collection | Opens a specific Product Listing Page on the app. | Open Collection |
| Open Cart | Opens cart page of the app | Open Cart |
| Open Landing Page | Opens Landing Page of the app | Open Landing Page |
| Open Url | Opens an external web URL within the app context. | Open Url |
| Open In-App Browser | Opens a webpage in an in-app browser modal. | Open In App Browser |
| Open Custom Block | Opens a custom-built Superfans block or component. | Open Custom Block |
| Open Authentication | Opens the login or signup flow. | Open Authentication |
| Open Search | Opens the search screen in-app. | Open Search |
| Open Checkout | Directly opens Shopify checkout. | Open Checkout |
| Close Popup | Closes currently open modals or popups. | Close Popup |
Updated about 1 month ago