For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Take a simple block in a theme app extension:
<script src="{{ 'foo.js' | asset_url }}" defer></script>
{{ 'foo.css' | asset_url | stylesheet_tag }}
{% schema %}
{
"name": "Get Foo",
"target": "section",
"enabled_on": {
"templates": ["product", "metaobject"]
}
}
{% endschema %}
According to the docs as of right now, November 23, 2023, I can target a section, and my templates for this are product and metaobject, both valid.
So in my VSCode editor where is conjure up this stuff, it is telling that target is not allowed in the schema, and metaobject is not allowed in the templates. Why is that? What is out of date in VSCode to be prompting that?
Also, when this code is in fact added to a block in a Metaobject theme template, it indeed fails to render at all. A major bug as far as I am concerned. Has not worked correctly in many months, but does work on product templates.
Thanks for flagging this. Forwarding to the App Extension folks.
Scott | Developer Advocate @ Shopify
Hello, I want to know how to make the Shopify theme app extension. Can you tell more about it.
i follow this but the cli not setup properly. Can you @SBD_ any video references. It helps me lot
Jan put together a great video here: https://www.youtube.com/watch?v=18rGm1ndMaI
Scott | Developer Advocate @ Shopify
Can i do development link use the shopify partners or Shopify store
Can You dm please I some personal query regards shopify