How to enable "Automatically expand sections to show app"

I came across a situation where a merchant wants to have their shipping methods automatically expanded. After some back and forth it seems this option is available and functional within a Checkout Blocks app block:

Though when I try with my own app block this option isn’t available (same target/slot in checkout editor), and I’m not seeing any API for this in the docs for extensions either.

How can one enable this setting within their app block or is this an exclusive feature to Checkout Blocks, and if so is there a way to access this API as well?

Hi @kyle, which target is your UI Extension targeting?

The option is available for all apps and supported by these targets:

purchase.checkout.delivery-address.render-before
purchase.checkout.delivery-address.render-after
purchase.checkout.shipping-option-list.render-before
purchase.checkout.shipping-option-list.render-after
purchase.checkout.shipping-option-item.details.render
purchase.checkout.shipping-option-item.render-after
purchase.checkout.pickup-location-list.render-before
purchase.checkout.pickup-location-list.render-after
purchase.checkout.pickup-point-list.render-before
purchase.checkout.pickup-point-list.render-after
purchase.checkout.payment-method-list.render-before
purchase.checkout.payment-method-list.render-after

In case this is what is happening, if the “Allow app to block checkout” option is enabled, the “Automatically expand sections to show app” option will be hidden, since blocking extensions always reveal by definition.

Thanks a lot for the clarification! I see the option now after disabling the Automatically expand sections to show app.

1 Like