Subbu1304 commited on
Commit
4c2760b
·
verified ·
1 Parent(s): 3c5fe95

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +3 -12
templates/cart.html CHANGED
@@ -117,11 +117,11 @@
117
  background-color: #4a5d68;
118
  color: #fff;
119
  }
120
- /* .cart-item-actions {
121
  display: flex;
122
  flex-direction: column; /* Stack the price and remove button vertically */
123
  align-items: flex-end;
124
- } */
125
 
126
 
127
 
@@ -160,16 +160,7 @@
160
  <!-- Increase button -->
161
  <button onclick="updateQuantity('increase', '{{ item.Name }}', '{{ customer_email }}')">+</button>
162
  </div>
163
- <!-- <div class="quantity-input">
164
- <!-- Decrease button -->
165
- <button class="quantity-btn" onclick="updateQuantity('decrease', '{{ item.Name }}', '{{ customer_email }}')">-</button>
166
-
167
- <!-- Quantity input field -->
168
- <input type="text" value="{{ item.Quantity__c | int }}" readonly data-item-name="{{ item.Name }}" class="quantity-field">
169
-
170
- <!-- Increase button -->
171
- <button class="quantity-btn" onclick="updateQuantity('increase', '{{ item.Name }}', '{{ customer_email }}')">+</button>
172
- </div> -->
173
 
174
  </div>
175
  <div class="cart-item-actions">
 
117
  background-color: #4a5d68;
118
  color: #fff;
119
  }
120
+ .cart-item-actions {
121
  display: flex;
122
  flex-direction: column; /* Stack the price and remove button vertically */
123
  align-items: flex-end;
124
+ }
125
 
126
 
127
 
 
160
  <!-- Increase button -->
161
  <button onclick="updateQuantity('increase', '{{ item.Name }}', '{{ customer_email }}')">+</button>
162
  </div>
163
+
 
 
 
 
 
 
 
 
 
164
 
165
  </div>
166
  <div class="cart-item-actions">