Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +8 -1
templates/cart.html
CHANGED
@@ -156,7 +156,14 @@
|
|
156 |
<!-- Subtotal -->
|
157 |
<div class="cart-summary">
|
158 |
<p class="fw-bold">Subtotal: ${{ subtotal }}</p>
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
<button class="checkout-button" onclick="proceedToOrder()">Proceed to Order</button>
|
161 |
</div>
|
162 |
</div>
|
|
|
156 |
<!-- Subtotal -->
|
157 |
<div class="cart-summary">
|
158 |
<p class="fw-bold">Subtotal: ${{ subtotal }}</p>
|
159 |
+
{% if reward_points >= 500 %}
|
160 |
+
<div class="reward-points-checkbox">
|
161 |
+
<label>
|
162 |
+
<input type="checkbox" id="rewardCheckbox" value="500">
|
163 |
+
Apply Reward Points ({{ reward_points }} points available)
|
164 |
+
</label>
|
165 |
+
</div>
|
166 |
+
{% endif %}
|
167 |
<button class="checkout-button" onclick="proceedToOrder()">Proceed to Order</button>
|
168 |
</div>
|
169 |
</div>
|