Liquid, JavaScript, themes, sales channels
I'm a bit confused on block type schema...
Do they work similarly to "types" in settings such as "image_picker" or "checkbox" where a type means that there's a preset format?
If I do something like:
"blocks": [
{
"type": "reward",
"name": "Reward",
"settings": [
Does "type": "reward", actually do anything? Is there a list of preset block types? Or do I have the define block types in settings_data.json? And if I do, how should I go about defining them?
Thank you!
"blocks": [
{
"type": "quote",
"name": "Quote",
"settings": [
{
"id": "content",
"type": "text",
"label": "Quote"
}
]
}
]
Hi, thanks for your answer, but that wasn't my question!
I would like to clarify a bit: what I'm wondering about is this particular line:
"type": "quote",
When "type" is used in a block, are the type presets that I'm trying to create? Where is the "quote" type defined? What is the purpose of defining a block type?
There are several types like radio, checkbox, textarea, richtext where admin can customize from theme customization
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024