我試圖按品牌將商店添加到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
你現在可以檢查網站。 –