For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
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"
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
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
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.
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
@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)