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

ben_davis_try1
New Member
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! 

 

 

0 Likes
Philibert_Dugas
Shopify Staff
Shopify Staff
8 5 4

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

0 Likes
ben_davis_try1
New Member
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.

0 Likes
Philibert_Dugas
Shopify Staff
Shopify Staff
8 5 4

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

0 Likes