How do I know if a shop is an Online Store 2.0?

I’ve seen this question asked a couple of times:

But, I don’t see a definitive answer on how to identify if a Shop is a (or has been migrated to) Online Store 2.0 (https://shopify.dev/docs/themes/os20).

I’m planning to just mark it as Online Store 2.0 if the 404 file has a json extension (I.e. 404.json). Will that suffice?

  • In Online Store > Themes > Edit code

  • In Templates folder of your theme, all your files are .json then it means your theme is Shopify 2.0 OS theme

I’m trying to build an app using theme app extension and this validation will be done via code. Can this be done via an API call?

Found the official document to verify theme support for App Blocks: https://shopify.dev/docs/apps/online-store/verify-support#verify-support-for-app-blocks

I’m not sure if it is the same validation for App Embed Blocks.

2 Likes