Skip to content

Instantly share code, notes, and snippets.

@BenHall
Created May 7, 2014 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenHall/316947b74dbe715a48e4 to your computer and use it in GitHub Desktop.
Save BenHall/316947b74dbe715a48e4 to your computer and use it in GitHub Desktop.
<div class="basket">
<div class="buttons">
<button class="fewer" class="{{#if getQuantity this ../../../basket == 0}}hide{{/if}}">-</button>
<div class="quantity" class="{{#if getQuantity this ../../../basket == 0}}hide{{/if}}">{{ getQuantity this ../../../basket }} x</div>
<button class="more">{{ currency this.pricePerUnit }}</button>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment