Spaces:
Sleeping
Sleeping
Update templates/order_history.html
Browse files
templates/order_history.html
CHANGED
@@ -102,7 +102,6 @@
|
|
102 |
{% else %}
|
103 |
<p class="text-center">No orders found in your history.</p>
|
104 |
{% endif %}
|
105 |
-
|
106 |
</div>
|
107 |
</div>
|
108 |
|
@@ -114,7 +113,6 @@
|
|
114 |
<script>
|
115 |
// Function to handle reordering an item
|
116 |
function addToCart(itemName) {
|
117 |
-
// You can send a request to the backend to add the item to the cart
|
118 |
fetch('/cart/add', {
|
119 |
method: 'POST',
|
120 |
headers: {
|
|
|
102 |
{% else %}
|
103 |
<p class="text-center">No orders found in your history.</p>
|
104 |
{% endif %}
|
|
|
105 |
</div>
|
106 |
</div>
|
107 |
|
|
|
113 |
<script>
|
114 |
// Function to handle reordering an item
|
115 |
function addToCart(itemName) {
|
|
|
116 |
fetch('/cart/add', {
|
117 |
method: 'POST',
|
118 |
headers: {
|