Discussing Shopify Functions development, deployment, and usage in Shopify apps.
Is there some way to access a feature flag that indicates if a Shop supports functions or not? I have checked the following in GQL:
- shop.features
- shop.supportsCheckoutApi
- createAppDiscountCode (different error or something)
This would be very helpful to make sure when functions arrive we can roll them out only to the correct stores (just dev preview stores atm).
More generally it would be helpful to surface if a store is dev-preview on `shop` or something.
Solved! Go to the solution
This is an accepted solution.
Hi @SatelQuinn -- Theoretically this shouldn't be necessary. Once functions go GA, they will be available to all shops.
Nick Wesselman | 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 the Shopify Help Center or the Shopify Blog
This is an accepted solution.
Hi @SatelQuinn -- Theoretically this shouldn't be necessary. Once functions go GA, they will be available to all shops.
Nick Wesselman | 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 the Shopify Help Center or the Shopify Blog
Thanks for the quick reply @Nick_Wesselman! For some reason I remembered reading somewhere that they would roll out to plus shops first. Couldn't dig that up though.