New Shopify Certification now available: Liquid Storefronts for Theme Developers

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

1080
Shopify Partner
278 8 39



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
Shopify Staff
1203 190 420

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