Liquid, JavaScript, themes, sales channels
What is the full app blocks schema?
https://shopify.dev/apps/online-store/theme-app-extensions/extensions-framework#schema shows its similar to https://shopify.dev/themes/architecture/sections/section-schema#app-block-schema but adding the key "blocks" I get the error uploading the app: unknown key 'block
... "blocks": [ { "name": "Slide", "type": "slide", "settings": [ { "type": "image_picker", "id": "image", "label": "Image" } ] } ] {% endschema %}
Refer https://github.com/Shopify/dawn/blob/main/sections/apps.liquid
You just need to use "type": "@app", it will work fine.
Hope it helps!
I'm also curious about this. My app needs to have some repeated blocks. It would be convenient to allow people to manage them in the theme customization area. But the `blocks` attribute doesn't seem to be supported in the `schema` section for an app extension. It would be nice to have a full schema reference so we know what all is available and/or not allowed. The current documentation makes it sound like everything supported by the section schema is also supported in app extensions, but that doesn't seem to be the case.
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022