Check the status of Checkout UI extension

temurbek
Shopify Partner
22 0 2

Hello.
I have a Checkout UI extension, how can I check whether it has been installed on the Checkout page from the admin?

 

For example: If not installed, I should show a message like: "Please enable the Checkout extension first"

Replies 5 (5)

Liam
Shopify Staff
2731 302 783

Hi Temurbek,

 

To check if a specific Checkout UI extension has been installed on a Checkout page, you can navigate to the Checkout area of the admin settings, & click Customize.

 

Then, use the dropdown list at the top of the page to navigate to the checkout step where you have added your extension. You can look for your extension in the list of installed apps. If it’s not there, then it means the app is not installed.

 

As for showing a message like "Please enable the Checkout extension first", there isn't a built-in way to do this in Shopify. However, you could add this instruction to the documentation or description of your app to inform your users. 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

temurbek
Shopify Partner
22 0 2

Thank you for your response, Yes I know how to check, I mean I should check this programmatically
I just wanted to show the message if it's not installed (because of UI/UX improvement), for example If I show the message always they may think that `I should install it again` or something like that

mconatser
Shopify Partner
3 0 2

This is something that we are also looking for for our app. It's very important that we be able to communicate the status of checkout extension installation from our dashboard and determine the number and targets of the locations that it has been installed on in a programmatic way.

Liam
Shopify Staff
2731 302 783

There was previously a CheckoutInstalledServerExtensions GraphQL query that would return info on installed extensions/ functions but this was part of the unstable API and was recently deprecated - I'm looking into this API with our internal team.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

LukasEshopGuide
Shopify Partner
2 0 0

@Liam Any updates on that topic? 🙂 I'm also very interested in checking if a merchant has installed a checkout extension. It would also be nice to check this per checkout profile (or at least draft vs. published checkout profiles)