Introduction to `shopify.app.extensions()`
The new shopify.app.extensions() method in App Bridge enables app developers to identify active checkout and customer account extensions in a merchant's store. This streamlines tracking setup progress and onboarding processes for merchants.
Key Features of `shopify.app.extensions()`
Track Extension Activity
With shopify.app.extensions(), your embedded app can query its extensions for detailed information. Each query provides:
- Handle: The identifier for the extension, sourced from your TOML file.
-
Activations: Lists the targets on which each extension is live, such as
purchase.thank-you.block.render.
Improve Merchant Onboarding
The method facilitates showing merchants which extensions are configured and which ones require their attention. This is particularly helpful when transitioning to Thank You and Order Status pages.
Supported Extensions
Currently, shopify.app.extensions() supports checkout and customer account extensions. This is an initial release, and future updates may expand support.
Additional Resources
For in-depth details and examples, refer to the developer documentation.