aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/payments/cart_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/templates/payments/cart_detail.html')
-rw-r--r--alphabetlearning/templates/payments/cart_detail.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/alphabetlearning/templates/payments/cart_detail.html b/alphabetlearning/templates/payments/cart_detail.html
new file mode 100644
index 0000000..8c6c01b
--- /dev/null
+++ b/alphabetlearning/templates/payments/cart_detail.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+{% load static %}
+
+{% block content %}
+<div class="container my-5">
+ <h1 class="mb-4">My basket</h1>
+ <p class="text-body-secondary">{% lorem %}</p>
+ {% if cart %}
+ <div class="row">
+ <div class="col-8 my-5 bg-secondary-subtle border border-1 rounded border-dark">
+ <div class="my-4 bg-white rounded">
+
+ <div>
+ {% for item in cart.items.all %}
+ <div class="my-3">
+ {% include "payments/cart_lineitem.html" with item=item %}
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+
+ <div class="col-4 my-5">
+ {% include "payments/cart_sidepanel.html" with cart=cart %}
+ </div>
+
+ </div>
+ {% else %}
+ <p>Your cart is empty.</p>
+ {% endif %}
+</div>
+{% endblock %}