Skip to main content

Full page

Feature preview

Customer accounts are getting layout and design updates. Enable the Customer account improvements feature preview to get early access. Review the feature preview overview and where extension targets will render in the new layout.

Full-page extensions allow you to create entirely new pages in customer accounts. They render in the main content area, below the header, and above the footer.

By default, when a merchant adds a full-page extension in the checkout and accounts editor, they're prompted to add it to the customer account header menu. Use the page component as the main container for placing content in your full-page extension.

  • Wishlist: Build a dedicated page where customers can view and manage their saved products.
  • Loyalty program: Display loyalty points, rewards tiers, and redemption options on a custom page.
  • Return requests: Create an order-specific page where customers can initiate and manage product returns.
  • Subscription management: Allow customers to view and manage their product subscriptions on a dedicated page.
  • Custom order views: Build order-specific pages that display supplementary information such as warranty details or installation instructions.

Full-page extensions support custom protocols and the Navigation API for in-extension routing.

Note

A full-page extension target can't coexist with any other targets in the same extension. Each full-page extension must be defined in a separate [[extensions.targeting]] entry in your TOML configuration.

customer-account.page.render

Renders a full-page extension in the main content area of customer accounts. Use this target for pages that aren't tied to a specific order, such as a wishlist or loyalty program page.

Support
Components (62)
APIs (14)

customer-account.order.page.render

Renders a full-page extension tied to a specific order in the main content area of customer accounts. Use this target for pages like return requests or warranty details. This target gives you access to order details through shopify.order, as well as line items through shopify.lines.

Support
Components (62)
APIs (29)

  • Use the page component as the root container: Wrap your full-page extension content in a page component. It provides a consistent layout with support for headings, subheadings, and action slots (primary-action, secondary-actions, breadcrumb-actions).
  • Choose the right target for the context: If the page needs access to order data, use customer-account.order.page.render. Otherwise, use customer-account.page.render.
  • Handle route navigation within the extension: Use the Navigation API and navigation.navigate() for programmatic in-extension routing. Use relative URLs or the extension: protocol with link components for declarative navigation.
  • Share direct links to the page: The URL for a full-page extension is static, so merchants can link customers directly to the page using the URL.
  • Guard against missing data: When using customer-account.order.page.render, always check that shopify.order.value is defined before rendering order-specific content. The order data loads asynchronously and may be undefined on the initial render.

Was this page helpful?