-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
312 lines (277 loc) · 11.9 KB
/
cart.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cart</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="https://cdn-icons-png.flaticon.com/256/8832/8832880.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
<div id="loader-container">
<div id="loader"></div>
</div>
<div class="info-bar">
<div class="social-icons">
<div class="icons"><a href="index.html"><img
src="https://png.pngtree.com/png-clipart/20221019/original/pngtree-whatsapp-mobile-software-icon-png-image_8704828.png"
alt="wp"></a></div>
<div class="icons"><a href="#"><img
src="https://cdn.icon-icons.com/icons2/2248/PNG/512/instagram_icon_138461.png" alt="insta"></a>
</div>
<div class="icons"><a href="#"><img src="https://img.icons8.com/ios_filled/512/facebook-new.png"
alt="fb"></a>
</div>
<div class="icons"><a href="#"><img src="https://cdn-icons-png.flaticon.com/512/152/152810.png"
alt="yt"></a>
</div>
</div>
<div class="info-tab">
<a href="#">
<p>Track Order</p>
</a>
<p>|</p>
<a href="#">
<p>About Us</p>
</a>
<p>|</p>
<a href="#">
<p>Contact Us</p>
</a>
</div>
</div>
<header>
<div class="logo">
<a href="index.html">
<p>BookHive</p>
</a>
</div>
<div class="search-bar">
<div class="suggestions"></div>
<input type="text" placeholder="Search Product..." class="search-input" />
<select class="category-select">
<option>Select Category</option>
<option>Books</option>
<option>Fiction</option>
<option>Non-fiction</option>
<option>Comics</option>
</select>
<button class="search-button">
<img src="https://i.postimg.cc/XJXMCj6V/loupe.png" alt="Search" />
</button>
</div>
<div class="header-icons">
<a href="wishlist.html">
<div class="wishlist">
<img src="https://i.postimg.cc/5t4Wf5PQ/e-commerce.png" alt="wishlist">
</div>
</a>
<div class="account">
<img src="https://i.postimg.cc/MTLC0Cz1/user.png" alt="user">
</div>
<div id="user-details">
<button class="login-page">Login Now</button>
</div>
<a href="cart.html">
<div class="cart">
<img src="https://i.postimg.cc/7LK8hCcs/online-shopping.png" alt="cart">
<div class="count">0</div>
</div>
</a>
</div>
</header>
<div class="navbar-mobile">
<div class="search-bar-mobile">
<div class="suggestions-mobile"></div>
<input type="text" placeholder="Search Product..." class="search-input search-input-mobile"/>
<button class="search-button-mobile search-button">
<img src="https://i.postimg.cc/XJXMCj6V/loupe.png" alt="Search" />
</button>
</div>
<div class="hamburger-menu">
<img src="https://i.postimg.cc/kG0SsfHL/more.png" alt="hamburger">
<div class="menu-content">
<ul>
<a href="book.html?genre=All" data-name="all">
<li>All Categories</li>
</a>
<a href="book.html?genre=Fictional" data-name="fictional">
<li>Fictional</li>
</a>
<a href="book.html?genre=Non-Fictional" data-name="non-fictional">
<li>Non-Fictional</li>
</a>
<a href="book.html?genre=Manga" data-name="manga">
<li>Manga & Comics</li>
</a>
<a href="book.html?genre=Children" data-name="children">
<li>Children</li>
</a>
<a href="book.html?genre=Horror" data-name="horror">
<li>Horror</li>
</a>
<a href="book.html?genre=Academic" data-name="academic">
<li>Academic</li>
</a>
</ul>
</div>
</div>
</div>
<div class="navbar">
<ul>
<a href="book.html?genre=All" data-name="all">
<li>All Categories</li>
</a>
<a href="book.html?genre=Fictional" data-name="fictional">
<li>Fictional</li>
</a>
<a href="book.html?genre=Non-Fictional" data-name="non-fictional">
<li>Non-Fictional</li>
</a>
<a href="book.html?genre=Manga" data-name="manga">
<li>Manga & Comics</li>
</a>
<a href="book.html?genre=Children" data-name="children">
<li>Children</li>
</a>
<a href="book.html?genre=Horror" data-name="horror">
<li>Horror</li>
</a>
<a href="book.html?genre=Academic" data-name="academic">
<li>Academic</li>
</a>
</ul>
</div>
<h1 id="cart-title">My Cart</h1>
<div id="cart-container">
<!--<div class="cart-book-container">
<img src="" alt="" srcset="">
<div class="cart-book-info">
<h2>Book Title</h2>
<h3>Author's Name</h3>
<p>Description</p>
<h3>Price: $0.00</h3>
<button>Remove</button>
</div>
</div>-->
</div>
<div id="checkout-container">
<!-- <h1>Checkout</h1>
<div class="check-price">
<p>Subtotal</p>
<p>₹ 1097</p>
</div>
<div class="taxes">
<p>Taxes (18%)</p>
<p>₹ 200</p>
</div>
<span></span>
<div class="total-price">
<strong>Total</strong>
<strong>₹ 1297</strong>
</div>-->
</div>
<div id="btn-container">
<button id="checkout-btn" >Proceed to Checkout</button>
<button id="clear-cart-btn" >Clear Cart</button>
</div>
<div id="payment-container">
<div class="det-container">
<label for="name">Name</label>
<input type="text" name="name" id="payment-name" placeholder="John" disabled>
<label for="email">Email</label>
<input type="email" name="email" id="payment-email" placeholder="[email protected]" disabled>
<label for="mobile">Mobile</label>
<input type="number" name="mobile" id="payment-mobile" placeholder="9999999999" disabled>
<label for="pin">Pincode</label>
<input type="number" name="pin" id="payment-pin" placeholder="100011" min="100000" max="999999">
<label for="address">Address</label>
<input type="text" name="address" id="payment-address" placeholder="XYZ Building , San Francisco">
<label for="city">City</label>
<select name="city" id="payment-city">
<option> Select City</option>
</select>
<label for="state">State</label>
<select name="state" id="payment-state">
<option>Select State</option>
<option value="Andhra Pradesh">Andhra Pradesh</option>
<option value="Arunachal Pradesh">Arunachal Pradesh</option>
<option value="Assam">Assam</option>
<option value="Bihar">Bihar</option>
<option value="Chhattisgarh">Chhattisgarh</option>
<option value="Delhi">Delhi</option>
<option value="Goa">Goa</option>
<option value="Gujarat">Gujarat</option>
<option value="Haryana">Haryana</option>
<option value="Himachal Pradesh">Himachal Pradesh</option>
<option value="Jharkhand">Jharkhand</option>
<option value="Jammu and Kashmir">Jammu and Kashmir</option>
<option value="Karnataka">Karnataka</option>
<option value="Kerala">Kerala</option>
<option value="Ladakh">Ladakh</option>
<option value="Madhya Pradesh">Madhya Pradesh</option>
<option value="Maharashtra">Maharashtra</option>
<option value="Manipur">Manipur</option>
<option value="Meghalaya">Meghalaya</option>
<option value="Mizoram">Mizoram</option>
<option value="Nagaland">Nagaland</option>
<option value="Odisha">Odisha</option>
<option value="Punjab">Punjab</option>
<option value="Rajasthan">Rajasthan</option>
<option value="Sikkim">Sikkim</option>
<option value="Tamil Nadu">Tamil Nadu</option>
<option value="Telangana">Telangana</option>
<option value="Tripura">Tripura</option>
<option value="Uttar Pradesh">Uttar Pradesh</option>
<option value="Uttarakhand">Uttarakhand</option>
<option value="West Bengal">West Bengal</option>
</select>
<label for="pay">Payment</label>
<select name="pay" id="payment-type">
<option value="COD">Cash on Delivery</option>
<option value="UPI">UPI</option>
</select>
<button id="submit-order">Submit Order</button>
</div>
<div id="confirm-container">
<h2>Thank You!!! 🎉</h2>
<p>We have received your order</p>
<button id="download">Download Invoice</button>
<button id="close-popup">Close</button>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="footer-section">
<h3>About Us</h3>
<p>Your trusted website for buying books. We provide the best services and products.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Follow Us</h3>
<div class="social-links">
<a href="#" aria-label="Facebook"><i class="fab fa-facebook-f"></i></a>
<a href="#" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
<a href="#" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
<a href="#" aria-label="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</div>
<div class="footer-bottom">
<p>© 2025 BookHive. All Rights Reserved.</p>
</div>
</footer>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</body>
</html>