I am creating a Shopify App that contains an extension for Online Store. So users who will install my app, will have access to a Block/Section that they will be able to use throughout their website.
As i plan to make it Subscription Based, is it any way that i can disable that Block/Section in users website as soon as they stop the subscription?
using “available_if” attribute, which is working only in theme app extension. How can I execute this in my checkout ui extensions.
Example: I want to enable my custom checkout field extensions(checkbox, textfield, select option components) only to my active subscribed users. Please explain how to do that.? I have stored my subscription status in one metafield, how can I use it to enable or disable my checkout ui extensions in theme editor.
Only Theme Extension, we can use "“available_if” attribute to hide the extension from the theme customizer, For all other type of extensions we can only customize/Hide the functionality according to the subscription status, We cannot hide the extension from the theme customizer for now.