How can I find the correct place to add the Subscription code at product page, cart page (if doesn't exists), etc?
I find each theme so different and with the new architecture it's like another thing. Could you suggest or give ideas on how it should be?
Can you explain a bit more what you want to do?
Maybe this documentation might help you: https://shopify.dev/apps/online-store
Hi, we want to add any missing subscription code to the themes. As far as I know, if I do a Subscription add, I need to add the code to dipslay plans in the product page, show selected plan in the cart, on my account, etc.
Some new themes already offer support for all these things except on product page. So I would like to know what's the process to add this code. Because each theme is unique.
you need to use the Selling Plan Group liquid object: https://shopify.dev/api/liquid/objects/selling-plan-group
And the selling plan liquild object: https://shopify.dev/api/liquid/objects/selling-plan