Skip to main content
Migrate to Polaris

Version 2025-07 is the last API version to support React-based UI components. Later versions use web components, native UI elements with built-in accessibility, better performance, and consistent styling with Shopify's design system. Check out the migration guide to upgrade your extension.

Full page

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 (63)
APIs (13)

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 useOrder() (React) or order (TS), as well as line items through useCartLines() (React) or lines (TS).

Support
Components (63)
APIs (28)

  • 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 title, subtitle, and action props (primaryAction, secondaryAction).
  • 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 order data is defined before rendering order-specific content. The order data loads asynchronously and may be undefined on the initial render.

Was this page helpful?