Discussing Shopify Functions development, deployment, and usage in Shopify apps.
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!
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
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.
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