|
|
|
|
@ -29,21 +29,22 @@ |
|
|
|
|
<tbody> |
|
|
|
|
{% for item in cart.items %} |
|
|
|
|
<tr> |
|
|
|
|
<td class="text-center"> |
|
|
|
|
<td class="text-center table-cart-image"> |
|
|
|
|
{% set im = item.item.product.main_image()|thumbnail("80x80") %} |
|
|
|
|
<a href="{{ item.item.product.get_absolute_url() }}"><img src="/static/{{ im.url }}" |
|
|
|
|
alt="" |
|
|
|
|
class="img-thumbnail"/></a> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<a href="{{ item.item.product.get_absolute_url() }}">{{ item.item.product.title }}</a> |
|
|
|
|
<a href="{{ item.item.product.get_absolute_url() }}">{{ item.item.product.title }}</a><br/> |
|
|
|
|
<em>{{ item.item.variation }}</em> |
|
|
|
|
</td> |
|
|
|
|
<td class="text-right">{{ item.item.price }} ₸</td> |
|
|
|
|
<td class="text-right info">{{ item.item.price }} ₸</td> |
|
|
|
|
<td class="text-right"><input type="number" value="{{ item.count }}" |
|
|
|
|
name="{{ item.id }}" class="form-control col-xs-1"/> |
|
|
|
|
|
|
|
|
|
</td> |
|
|
|
|
<td class="text-right">{{ item.subtotal }} ₸</td> |
|
|
|
|
<td class="text-right success">{{ item.subtotal }} ₸</td> |
|
|
|
|
<td class="text-center"> |
|
|
|
|
<a class="text-danger" href="/store/cart/remove/?id={{ item.id }}"><span |
|
|
|
|
class="glyphicon glyphicon-remove"></span> Удалить</a> |
|
|
|
|
@ -54,8 +55,8 @@ |
|
|
|
|
</tbody> |
|
|
|
|
<tfoot> |
|
|
|
|
<tr> |
|
|
|
|
<th colspan="2" class="text-left table-cart-itogo"><a href="javascript:history.back()" class="btn btn-warning"> |
|
|
|
|
<span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span> Продолжить покупки</a></th> |
|
|
|
|
<th colspan="2" class="text-left"><a href="javascript:history.back()" class=""> |
|
|
|
|
← Продолжить покупки</a></th> |
|
|
|
|
<th colspan="3" class="text-right table-cart-itogo">Итого: {{ cart.total }} ₸</th> |
|
|
|
|
<th class="text-center"> |
|
|
|
|
<button type="submit" class="btn btn-primary"><span |
|
|
|
|
|