【发布时间】:2017-05-23 00:02:02
【问题描述】:
{% if product.type == 'Patio Furniture/Salsa Table' %}
<div id="dotted" style="height: auto;border-bottom:0px;text-align: center;" class="grid-uniform wrapper">
<div class="grid__item large--one-whole">
<img alt="woman wearing colorful apron while working with bread doe in the kitchen" src="https://cdn.shopify.com/s/files/1/1418/7648/files/BERLIN_Maud_Chalard_pour_Fermob_9.jpg?1296570615214079092">
</div>
</div>
{% endif %}
我需要定位两个名为 product.no-variant 和 product.jacquard-tablecloths 的专用模板。
这部分应该放在这里{% if product.type == 'Patio Furniture/Salsa Table' %}
我很确定 product.type 只是使用错误的后缀,我需要正确的后缀。
【问题讨论】:
-
为什么不在管理仪表板的产品页面的产品级别设置模板?
-
我确实设置了模板,因为我无法定位这些模板是因为它们是特殊模板。 product.no-variant 和 product-jacquard-tablecloths