Created
January 18, 2017 22:26
-
-
Save seedcms/0cbb89adce162d5a812b5177aaf90eef to your computer and use it in GitHub Desktop.
Cart table before the script editor code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="cart"> | |
<thead class="heading"> | |
<tr> | |
<th>Product</th> | |
<th>Quantity</th> | |
<th>Total</th> | |
</tr> | |
</thead> | |
<tbody class="line-items"> | |
{% for item in cart.items %} | |
<tr> | |
<td>{{ item.product.title }}</td> | |
<td>{{ item.quantity }}</td> | |
<td>{{ item.line_price | money }}</td> | |
</tr> | |
{% endfor %} | |
</tbody> | |
<tfoot class="summary"> | |
<tr> | |
<td colspan="2">Total</td> | |
<td>{{ cart.total_price | money }}</td> | |
</tr> | |
</tfoot> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment