App must provide the customer-facing UX for purchasing a subscription by injecting code into theme

ben_davis_try1
Visitor
2 0 0

Hi Shopify Support Team,

In this link, you mention that "Your app must provide the customer-facing UX for purchasing a subscription by injecting code in the theme." I assume this means that the API properties included in this link must be consumable in the theme since each merchant's theme is different and their desired UI varies slightly.

Can you please confirm? Thank you so much! 

 

 

Replies 3 (3)

Philibert_Dugas
Shopify Staff
36 13 16

Hey there,

Yes, the API is available in theme through our Liquid APIs. You can find the object described here:

https://shopify.dev/docs/themes/liquid/reference/objects/selling-plan

https://shopify.dev/docs/themes/liquid/reference/objects/selling-plan-allocation

https://shopify.dev/docs/themes/liquid/reference/objects/selling-plan-group

Hope this helps, let me know if you need more details

 

Cheers,

Philibert

To learn more visit the Shopify Help Center or the Community Blog.

ben_davis_try1
Visitor
2 0 0

Thanks, Philibert. Do apps need to build a robo-installer to be accepted into the app store? We customize the implementation for our brands, so the robo-installer wouldn't be used. But would love to get confirmation around whether this is required or not! Thanks for your help.

Philibert_Dugas
Shopify Staff
36 13 16

We've added a section in the requirements for the app store regarding subscriptions (section 14.) here: https://shopify.dev/concepts/app-store/getting-your-app-approved/app-requirements

For online store specific requirements, I think Robo-Installmer might be equivalent to this requirement:

If your app interacts with a merchant's theme, then you should use theScriptTagorapp proxieswhen building your app so that the merchant doesn't need to change their theme's code.

Hope this helps, sorry for the delay I somehow missed this

To learn more visit the Shopify Help Center or the Community Blog.