item.hbs 424 Bytes
<div class="item">
    {{#if link}}
        <a href="{{link}}">
            <img class="item-pic" src="{{src}}" alt="">
        </a>
    {{^}}
        <img class="item-pic" src="{{src}}" alt="">
    {{/if}}

    {{#if showProductInfo}}
    <div class="item-info">
        <div class="text">{{text}}</div>
        <div class="name">{{name}}</div>
        <div class="price">{{salesPrice}}</div>
    </div>
    {{/if}}
</div>