Determine if Shop has checkout.liquid customizations using Admin API

Determine if Shop has checkout.liquid customizations using Admin API

ocastx
Shopify Partner
31 6 12

Hi,

 

some of our features, like Functions, are not working with Shops that do still use checkout.liquid customizations. Is there a way to determine using the Admin API, if a shop still uses customizes checkout.liquid or already upgraded to Checkout Extensibility? 

 

We found some useful feature flags, but not the one we were looking for.

 

Thank you!

Replies 3 (3)

Liam
Community Manager
3108 341 879

Hi Ocastx,

 

I believe you could query the CheckoutBranding object which would return data if a merchant is using the branding API/ checkout extensibility. 

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

ocastx
Shopify Partner
31 6 12

Hi Liam,

 

yeah, we tried this as well, though it does not reliably tell if a merchant has really upgraded yet. Would be cool to have some feature flag that lets developers know if functions can be applied or not.

 

Liam
Community Manager
3108 341 879

I'll log a feature request for a feature flag that can be used to ID the checkout type.

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