Skip to main content

Profile page (B2B)

Profile page (B2B) extensions render on the Profile page for business-to-business (B2B) customers. These targets appear alongside Shopify's native company and location management UI so customers see your extension content in direct context with their company profile.

  • Company details: Display supplementary company information, such as account manager contacts or company-specific policies.
  • Location addresses: Show additional address context for a company location, such as delivery zone restrictions or warehouse details.
  • Payment methods: Provide payment-related notices for a company location, such as credit terms or approved payment methods.
  • Staff management: Display custom staff-related information for a company location, such as role descriptions or onboarding links.
  • Custom profile content: Add app-specific content blocks to the Profile page that render for all customers, including B2B customers.

Anchor to Profile page (B2B) targetsProfile page (B2B) targets

Profile page (B2B) targets render on the Profile page for B2B customers. They're useful for adding contextual information about company details, location-specific settings, and custom content.

customer-account.profile.company-details.render-after

Renders after the company name and before the company location information on the Profile page.

Use this target to display supplementary company information such as account details, company-specific messaging, or links to external resources. This target gives you access to the Authenticated Account API, which provides company and location data through shopify.authenticatedAccount.purchasingCompany.

Support
Components (62)
APIs (14)

Anchor to Company location addresses (render after) ,[object Object]Company location addresses (render after) target

customer-account.profile.company-location-addresses.render-after

Renders after the addresses section for a company location on the Profile page. A separate instance of this extension is rendered for each company location.

Use this target to display additional address information for a specific company location, such as delivery restrictions or warehouse notes. This target provides shopify.locationId to identify the current company location, and also gives you access to the Authenticated Account API.

Support
Components (62)
APIs (14)

Anchor to Company location payment (render after) ,[object Object]Company location payment (render after) target

customer-account.profile.company-location-payment.render-after

Renders after the Payment methods section for a company location on the Profile page. A separate instance of this extension is rendered for each company location.

Use this target to display payment-related information for a specific company location, such as credit terms or approved payment methods. This target provides shopify.locationId to identify the current company location, and also gives you access to the Authenticated Account API.

Support
Components (62)
APIs (14)

Anchor to Company location staff (render after) ,[object Object]Company location staff (render after) target

customer-account.profile.company-location-staff.render-after

Renders after the Staff and permissions section for a company location on the Profile page. A separate instance of this extension is rendered for each company location.

Use this target to display staff-related information for a specific company location, such as role descriptions or onboarding instructions. This target provides shopify.locationId to identify the current company location, and also gives you access to the Authenticated Account API.

Support
Components (62)
APIs (14)

customer-account.profile.block.render

Renders a block extension target on the Profile page. This target renders for all customers, including B2B customers.

Merchants can choose to place this extension in any of the supported locations.

Support
Components (62)
APIs (14)

  • Check for B2B context: For targets that rely on B2B data, always check that shopify.authenticatedAccount?.purchasingCompany?.value is defined before rendering company-specific content. Not all customers are B2B customers.
  • Keep content contextual: Profile page extensions render alongside company and location management UI, so content should be directly relevant to the section it appears in.
  • Handle multiple instances: The company location targets (company-location-addresses, company-location-payment, company-location-staff) render a separate instance for each company location. Use shopify.locationId to differentiate between locations.
  • Avoid heavy rendering: These targets render inline within the Profile page. Avoid complex layouts or large data fetches that could cause layout shifts. Use banner or lightweight stack layouts for the best experience.

Was this page helpful?