Hi everyone,
I have an embedded app block that I would like to have input options for the store owner to set. How would I - for example - add a drop down menu in the area [below extension-test] you see in the attached image?
Some research I’ve done is look at the settings attribute for the schema but this does not seem to have any effect.
{% schema %}
{
"name": "App Embed",
"target": "head",
"enabled_on": {
"templates": ["product"]
},
"javascript": "app.js",
"settings": [
{
"type": "select",
"id": "my_option",
"label": "Sample Option",
"options": [
{
"value": 2,
"label": "2"
},
{
"value": 3,
"label": "3"
}
]
}
],
"default": 2
}
{% endschema %}
Thank you!
