Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +7 -1
templates/cart.html
CHANGED
@@ -6,6 +6,9 @@
|
|
6 |
<title>Cart</title>
|
7 |
<!-- Bootstrap CSS -->
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
|
|
9 |
<style>
|
10 |
body {
|
11 |
font-family: Arial, sans-serif;
|
@@ -155,7 +158,10 @@
|
|
155 |
<div class="text-primary">
|
156 |
$<span class="base-price">{{ item.Price__c }}</span>
|
157 |
</div>
|
158 |
-
<button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">Remove</button>
|
|
|
|
|
|
|
159 |
</div>
|
160 |
</div>
|
161 |
{% else %}
|
|
|
6 |
<title>Cart</title>
|
7 |
<!-- Bootstrap CSS -->
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
9 |
+
<!-- Add Font Awesome CDN for icons -->
|
10 |
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
11 |
+
|
12 |
<style>
|
13 |
body {
|
14 |
font-family: Arial, sans-serif;
|
|
|
158 |
<div class="text-primary">
|
159 |
$<span class="base-price">{{ item.Price__c }}</span>
|
160 |
</div>
|
161 |
+
<!-- <button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">Remove</button> -->
|
162 |
+
<button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">
|
163 |
+
<i class="fas fa-trash-alt"></i> <!-- Font Awesome delete icon -->
|
164 |
+
</button>
|
165 |
</div>
|
166 |
</div>
|
167 |
{% else %}
|