FROM CACHE - en_header

Theme App Extensions & Subscriptions

mattdenoronha
Shopify Partner
24 1 9

So the new theme app extensions are available to a theme when an app is installed, ok great.

How does this work with subscriptions? A store can install an app without subscribing, giving them access to the extensions without paying.

How do we limit access to theme app extensions until a store subscribes? Are all theme app subscriptions only for free apps?

Replies 7 (7)
Bunty
Shopify Partner
133 39 80

Hi @mattdenoronha, it's correct that merchants would be able to add the theme app extension, but you still control what happens inside it and would have total control of when to enable/disable the feature provided by the extension based on your own business rules.

mattdenoronha
Shopify Partner
24 1 9

Thanks @Bunty 
So would that be, every view of the section would require a call to our servers to check if we've marked that store as subscribed, then render the section if they've paid? Seems quite extensive and likely to slow the page just to display what may be a simple section with some text and images.

I can't think of a less intensive way.

mattdenoronha
Shopify Partner
24 1 9

Does anyone have an idea on this? Is there a way to limit theme app extensions to only subscribed stores? One that doesn't require a server call on every page view? Will standard theme app extensions only be for free apps?

Bunty
Shopify Partner
133 39 80

Not necessarily, there are techniques to mitigate calling the backend on each view, like session caching, or I believe you can use liquid in theme app ex, so you could also use metafields. The World is your oyster.

davebhatt777777
New Member
2 0 1

Hi , what if we want to hide the app blocks provided by theme app extension for the app if any user clicks on unsubscribe is it not possible.

franndotexe
Shopify Partner
2 0 0

Bumping this. If a merchant installs the app and clicks cancel on the subscription approval page, they can still insert the app block into their theme without issue and there does not appear to be anything in the Shopify docs on how to handle this scenario with regards to Theme App Extensions and showing them in theme sections.

 

I'm not sure how to go about checking subscription status in the app block liquid. Even then, they would still be able to add the block and devs would be responsible for showing a non-standardized subscription status message in the rendered app block.

 

Is there an example of handling this for Theme App Extensions in the Shopify docs or a Github repo?

 

If we need to manually maintain an external source of the merchant's subscription status for Theme App Extensions it adds a significant amount of overhead to handle something Shopify already has APIs to accommodate.

 

Are there hooks we can use for showing the app block in the Theme Editor?

franndotexe
Shopify Partner
2 0 0

Bumping this again.

 

I've spent some more time looking around in the docs and seeing what's available to solve this issue, but am not coming across anything useful.

 

Being able to toggle the availability of the Theme App Extension based on whether or not the merchant is up-to-date on their payments for the app seems like an important feature for Theme App Extensions.

 

Is something like this available?