item.hbs 568 Bytes
<div class="item">
    {{#if link}}
        <a href="{{link}}">
            <img class="item-pic" src="{{#ifand isGood triple}}{{image2 src w=235 h=314}}{{^}}{{image2 src}}{{/ifand}}" alt="">
        </a>
    {{^}}
        <img class="item-pic" src="{{#ifand isGood triple}}{{image2 src w=235 h=314}}{{^}}{{image2 src}}{{/ifand}}" 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>