我试图按品牌将商店添加到Bigcommerce主题中。我已经通过模板文件,似乎无法确定我需要做什么。我找到了“shop-by-price.html”模板页面,我想我可以在它上面粘贴一些代码,但似乎无法找到品牌列表代码。这里是shop-by-price.html页面在Bigcommerce模板主题中添加侧栏“Shop by Brands”
{{#if shop_by_price}}
<div class="sidebar-block shop-by-price facet-list" data-facet-filter>
{{> components/common/facet-toggle title=(lang 'category.shop_by_price')}}
<ul class="facet-list-items is-open" data-facet-filter-wrapper>
{{#each shop_by_price}}
<li class="facet-item">
<a class="{{#if selected }}is-active{{/if}}" href="{{url}}" alt="{{low.formatted}} - {{high.formatted}}">{{low.formatted}} - {{high.formatted}}</a>
</li>
{{/each}}
</ul>
{{#any shop_by_price selected=true}}
<a href="{{category_url}}" class="link facet-remove">
{{lang 'category.reset'}}
</a>
{{/any}}
</div>
{{/if}}
非常感谢您的帮助。谢谢!
检查后截图:http://prntscr.com/ez0t23 –
是那个屏幕截图的反映,代码是什么? – Damien
你现在可以检查网站。 –