shopify セクションにオリジナルの追加するほう方
Tue Apr 13 2021 05:14:52 GMT+0000 (Coordinated Universal Time)
Saved by
@akairo0902
#javascript
<div id="textsection">
<div class="simpletext">
<h1> {{ section.settings.text-box }} </h1>
<h3> {{ section.settings.text }} </h3>
</div>
</div>
{% schema %}
{
"name": "Top-splash",
"settings": [
{
"id": "text-box",
"type": "text",
"label": "Heading",
"default": "Title"
},
{
"id": "text",
"type": "richtext",
"label": "Add custom text below",
"default": "<p>Add your text here</p>"
}
],
"presets":[
{
"name":"Top splash",
"category":"test"
}
]
}
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}
content_copyCOPY
Comments