-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# 254 # ----------------------------------------------------------------------------------- # Include
- Loading branch information
1 parent
2429d75
commit 4c1da2f
Showing
3 changed files
with
50 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{% load static %} | ||
{% load i18n %} | ||
|
||
|
||
<!-- Mini Cart Start --> | ||
<aside class="mini-cart" id="miniCart"> | ||
<div class="mini-cart-wrapper"> | ||
<a href="" class="btn-close"><i class="flaticon flaticon-cross"></i></a> | ||
<div class="mini-cart-inner"> | ||
<h3 class="mini-cart__heading mb--40 mb-lg--30 text-right">{% translate "Cart" %}</h3> | ||
<div class="mini-cart__content"> | ||
<ul class="mini-cart__list text-right"> | ||
{% for item in cart %} | ||
<li class="mini-cart__product d-flex justify-content-between"> | ||
<div class="mini-cart__product__image"> | ||
<a href="#"> | ||
<img src="assets/img/products/prod-1-100x100.jpg" alt="products"> | ||
</a> | ||
</div> | ||
<div class="mini-cart__product__content pt-2"> | ||
<span class="mini-cart__product__title d-flex flex-row justify-content-between"> | ||
<a href="#">{{ item.product_obj.title }}</a> | ||
<a href="#" class=""> | ||
❌ | ||
</a> | ||
</span> | ||
<span class="mini-cart__product__quantity"> | ||
<span>{{ item.product_obj.price }}</span> × <span>{{ item.quantity }}</span> | ||
</span> | ||
</div> | ||
</li> | ||
|
||
{% endfor %} | ||
|
||
</ul> | ||
<div class="mini-cart__total"> | ||
<span>{% translate "Total" %}</span> | ||
<span class="ammount">{{ cart.get_total_price }} تومان</span> | ||
</div> | ||
<div class="mini-cart__buttons"> | ||
<a href="{% url 'cart:cart_detail' %}" class="btn btn-fullwidth btn-bg-sand mb--20">{% translate "Go to cart" %}</a> | ||
<a href="checkout.html" class="btn btn-fullwidth btn-bg-sand">{% translate "Checkout" %}</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</aside> | ||
<!-- Mini Cart End --> |
This file contains 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