Test customer account extensions
Follow these guidelines to test your customer account UI extensions in different user scenarios. Recreating merchant and customer experiences helps ensure that extensions behave as desired in different locations.
Test locally
Anchor link to section titled "Test locally"The inline and order action menu extensions tutorials show you how to start generating and previewing extensions. Previewing UI extensions locally is different when you use static versus block targets.
Static targets
Anchor link to section titled "Static targets"When you're using a static target, the UI extension automatically renders in a chosen location.
Block targets
Anchor link to section titled "Block targets"When you're using a block target, merchants can place the UI extension in any of the supported placements on the page.
To preview a block extension in each supported placement, append ?placement-reference={name}
to the customer account URL that's outputted by Shopify CLI. For example, ?placement-reference=ORDER_SUMMARY3
.