我不明白为什么我的文本文件不能显示,这是部分/产品。液态的h1不会显示,它告诉我它认为它是空的,但是我不仅设置了默认的,而且当我进入编辑器时,它仍然不会显示的文本,注意: shopify让我保存文件没有错误
{% unless settings.Under_Product_Title == blank %}
<h1>{{ settings.Under_Product_Title }}</h1>
{% endunless %}
....
{% schema %}
{
"name": "Product pages",
"settings": [
{
"type": "text",
"id": "Under_Product_Title",
"label": "Under Product Title",
"default": "30 tablets (30 days)"
}
]
}
{% endschema %}在我的产品template.json中
{
"sections": {
"breadcrumb": {
"type": "breadcrumb",
"settings": {
}
},
"product": {
"type": "product",
"settings": {
"Under_Product_Title": "30 tablets (30 days)!"
}
}
},
"order": [
"breadcrumb",
"product"
]
}发布于 2022-07-05 12:29:56
{% unless section.settings.Under_Product_Title == blank %}
<h1>{{ section.settings.Under_Product_Title }}</h1>
{% endunless %}
{% schema %}
{
"name": "Product pages",
"settings": [
{
"type": "text",
"id": "Under_Product_Title",
"label": "Under Product Title",
"default": "30 tablets (30 days)"
}
]
}
{% endschema %}https://stackoverflow.com/questions/72861034
复制相似问题