kilbot
10/27/2016 - 8:49 AM

add item price column to receipt template

add item price column to receipt template

    <tr>
      <td class="product">
        {{name}}
        {{#with meta}}
        <dl class="meta">
          {{#each []}}
          <dt>{{label}}:</dt>
          <dd>{{value}}</dd>
          {{/each}}
        </dl>
        {{/with}}
      </td>
      <td class="qty">{{number quantity precision="auto"}}</td>
        
<!-- item price column -->
      <td class="item_price">{{{money price}}}</td>
<!-- / item price column -->

      <td class="price">
        {{#if on_sale}}
        <del>{{{money subtotal}}}</del>
        <ins>{{{money total}}}</ins>
        {{else}}
        {{{money total}}}
        {{/if}}
      </td>
    </tr>