Check Checkout UI extension enabled

Hi,

Is there a way to check programmatically if my checkout UI extension is enabled/disabled by the merchant?

Thanks!

I wonder the same thing, it is super confusing for users when we can’t check if they completed this essential step

1 Like

I dug a bit and found a way

use → const extension = useExtension();
If rendered, it is true else false → extension.rendered.current
save it in metafield/storage/db

Hey @navdeep! It looks like const extension = useExtension(); is not executed if Checkout UI extension block removed by Customer via Checkout customization page. I mean there is no way to set any metafield / storage / db if extension.rendered.current false. Did you probably find a more consistent way to detect if Checkout UI extension is enabled?

Hey @unrooty, not really .. as of now, following the same