Skip to content

Instantly share code, notes, and snippets.

@nicknovitski
Forked from patrick-steele-idem/gist:3125854
Last active December 11, 2015 23:58
Show Gist options
  • Save nicknovitski/4680486 to your computer and use it in GitHub Desktop.
Save nicknovitski/4680486 to your computer and use it in GitHub Desktop.
<!--- logicless: -->
{{cart}}
<!-- "logicless": -->
{{^cartItems}}
<div>
Your shopping cart is empty!
</div>
{{/cartItems}}
<ul>
{{#cartItems}}
<li>
{{quantity}} x {{price}}
</li>
{{/cartItems}}
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment