Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi. To solve the question in title, I tried out a couple of my competitor apps. I was able to use their Theme App Extension's App Block in the theme editor despite not approving the free trial. So now I'm just confused.
How are you supposed to enforce paywall for Theme App Extension's App Blocks?
@programmerhat So they mange the flag like who has paid active plan then the app block will do the rest of activity else it was not doing anythings.
assign appplan = app.meta. ...xx.appplan
{% if appplan === "pro" %}
here is app logic
{% else %}
console.log(" need app plan paid plan ")
{% endif %}
this is the sample example to mange the app block's