public app do the App Block activation Automatically in theme side. and show the block status.

public app do the App Block activation Automatically in theme side. and show the block status.

1080
Shopify Partner
297 9 56



Hi all.

i have build the app in node stack usign the CLI.

i added the theme app extension .  app setup there are many steps. many of the store owner dont doing the block activation block.

the app block are store in to the theme file /  settings_data.json

 

"blocks": {
      "xxxx714617895921xxxx": {
        "type": "shopify:\/\/apps\/mydevapp\/blocks\/app-embed-body\/cd4fxxxx-xxxx-41c6-xxxx-9ac519de9483",
        "disabled": true,
        "settings": {
        }
      }
}

 

  
Assets API available in https://shopify.dev/api/admin-rest/2023-01/resources/asset  REST api but on in graphql. 

 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 500

Hey @1080 - we don't currently offer a quick way to automatically enable theme extension app blocks. At the moment, we instead recommend that during the onboarding process for the app, you build in messaging that walks merchants through enabling it on their theme. There's a good overview here in our dev docs.

That said, we wanted to look into this a bit more for you and found a really good article from another Shopify developer that has some advice on how you can walk your merchants through enabling the app blocks - link to that here.

 

Hope this helps - let us know if we can clarify anything on our end. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog