Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +4 -45
templates/cart.html
CHANGED
@@ -123,48 +123,7 @@
|
|
123 |
align-items: flex-end;
|
124 |
} */
|
125 |
|
126 |
-
/* mycahnges */
|
127 |
-
/* Container for the quantity input */
|
128 |
-
/* .quantity-input {
|
129 |
-
display: flex;
|
130 |
-
align-items: center;
|
131 |
-
justify-content: center;
|
132 |
-
border: 1px solid #ccc; /* Border for the whole container */
|
133 |
-
border-radius: 5px; /* Rounded corners for the container */
|
134 |
-
padding: 5px;
|
135 |
-
}
|
136 |
-
|
137 |
-
/* Style for the buttons */
|
138 |
-
.quantity-btn {
|
139 |
-
background-color: #fff;
|
140 |
-
border: 1px solid #ccc;
|
141 |
-
color: #28a745;
|
142 |
-
font-size: 18px;
|
143 |
-
width: 30px;
|
144 |
-
height: 30px;
|
145 |
-
cursor: pointer;
|
146 |
-
text-align: center;
|
147 |
-
padding: 0;
|
148 |
-
}
|
149 |
-
|
150 |
-
/* Style for the quantity input field */
|
151 |
-
.quantity-field {
|
152 |
-
width: 40px;
|
153 |
-
text-align: center;
|
154 |
-
border: none;
|
155 |
-
font-size: 18px;
|
156 |
-
color: #000;
|
157 |
-
background-color: #fff;
|
158 |
-
}
|
159 |
-
|
160 |
-
.quantity-btn:focus, .quantity-field:focus {
|
161 |
-
outline: none; /* Remove outline when focusing on the input or button */
|
162 |
-
}
|
163 |
|
164 |
-
.quantity-btn:hover {
|
165 |
-
background-color: #f8f9fa; /* Light grey on hover for buttons */
|
166 |
-
}
|
167 |
-
*/
|
168 |
|
169 |
|
170 |
|
@@ -217,10 +176,10 @@
|
|
217 |
<div class="text-primary">
|
218 |
$<span class="base-price">{{ item.Price__c }}</span>
|
219 |
</div>
|
220 |
-
<button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">Remove</button> -->
|
221 |
-
|
222 |
-
<i class="fas fa-trash-alt"></i> <!-- Font Awesome delete icon
|
223 |
-
|
224 |
</div>
|
225 |
</div>
|
226 |
{% else %}
|
|
|
123 |
align-items: flex-end;
|
124 |
} */
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
|
|
|
|
|
|
|
|
|
127 |
|
128 |
|
129 |
|
|
|
176 |
<div class="text-primary">
|
177 |
$<span class="base-price">{{ item.Price__c }}</span>
|
178 |
</div>
|
179 |
+
<!-- <button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">Remove</button> -->
|
180 |
+
<button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">
|
181 |
+
<i class="fas fa-trash-alt"></i> <!-- Font Awesome delete icon
|
182 |
+
</button>
|
183 |
</div>
|
184 |
</div>
|
185 |
{% else %}
|