-
Notifications
You must be signed in to change notification settings - Fork 2
/
cart.html
474 lines (430 loc) · 23.7 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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>E-shop :: Cart</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="assets/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="assets/owlcarousel/owl.theme.default.min.css">
<link rel="stylesheet" href="assets/css/main.css">
<link rel="shortcut icon" href="assets/img/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="wrapper">
<header class="header">
<div class="header-top py-1">
<div class="container-fluid">
<div class="row">
<div class="col-6 col-sm-4">
<div class="header-top-phone d-flex align-items-center h-100">
<i class="fa-solid fa-mobile-screen"></i>
<a href="tel:+1234567890" class="ms-2">123-456-7890</a>
</div>
</div>
<div class="col-sm-4 d-none d-sm-block">
<ul class="social-icons d-flex justify-content-center">
<li>
<a href="#">
<i class="fa-brands fa-youtube"></i>
</a>
</li>
<li>
<a href="#">
<i class="fa-brands fa-facebook-f"></i>
</a>
</li>
<li>
<a href="#">
<i class="fa-brands fa-instagram"></i>
</a>
</li>
</ul>
</div>
<div class="col-6 col-sm-4">
<div class="header-top-account d-flex justify-content-end">
<div class="btn-group me-2">
<div class="dropdown">
<button class="btn btn-sm dropdown-toggle" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
Account
</button>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="#">Sign In</a>
</li>
<li>
<a class="dropdown-item" href="#">Sign Up</a>
</li>
</ul>
</div>
</div>
<div class="btn-group">
<div class="dropdown">
<button class="btn btn-sm dropdown-toggle" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
EN
</button>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="#">RU</a>
</li>
<li>
<a class="dropdown-item" href="#">DE</a>
</li>
</ul>
</div>
</div>
</div>
<!-- ./header-top-account -->
</div>
</div>
</div>
</div>
<!-- ./header-top -->
<div class="header-middle bg-white py-4">
<div class="container-fluid">
<div class="row align-items-center">
<div class="col-sm-6">
<a href="index.html" class="header-logo h1">E-Shop</a>
</div>
<div class="col-sm-6 mt-2 mt-md-0">
<form action="">
<div class="input-group">
<input type="text" class="form-control" name="s" placeholder="Searching..."
aria-label="Searching..." aria-describedby="button-search">
<button class="btn btn-outline-warning" type="submit" id="button-search">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- ./header-middle -->
</header>
<div class="header-bottom sticky-top" id="header-nav">
<nav class="navbar navbar-expand-lg bg-dark" data-bs-theme="dark">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas"
data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="offcanvas offcanvas-start" id="offcanvasNavbar" tabindex="-1"
aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel">Catalog</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas"
aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Payment</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Delivery</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false" data-bs-auto-close="outside">
Catalog
</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="category.html">Shoes</a>
</li>
<li>
<a class="dropdown-item" href="category.html">Jeans</a>
</li>
<li class="nav-item dropend">
<a class="dropdown-item dropdown-toggle" href="#" data-bs-toggle="dropdown"
data-bs-auto-close="outside">Sportswear</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="category.html">Men's Sportswear</a>
</li>
<li>
<a class="dropdown-item" href="category.html">Women's Sportswear</a>
</li>
<li>
<a class="dropdown-item" href="category.html">Baby's Sportswear</a>
</li>
</ul>
</li>
<li>
<a class="dropdown-item" href="category.html">Coat</a>
</li>
<li>
<a class="dropdown-item" href="category.html">Shirts</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div>
<a href="#" class="btn p-1">
<i class="fa-solid fa-heart"></i>
<span class="badge text-bg-warning cart-badge bg-warning rounded-circle">3</span>
</a>
<button class="btn p-1" id="cart-open" type="button" data-bs-toggle="offcanvas2"
data-bs-target="#offcanvasCart" aria-controls="offcanvasCart">
<i class="fa-solid fa-cart-shopping"></i>
<span class="badge text-bg-warning cart-badge bg-warning rounded-circle">5</span>
</button>
</div>
</div>
</nav>
</div>
<!-- ./header-bottom -->
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasCart" aria-labelledby="offcanvasCartLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasCartLabel">Cart</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<div class="table-responsive">
<table class="table offcanvasCart-table">
<tbody>
<tr>
<td class="product-img-td"><a href="product.html"><img src="assets/img/products/1.jpg"
alt=""></a>
</td>
<td><a href="product.html">Product 1 Lorem ipsum dolor, sit amet consectetur
adipisicing.</a></td>
<td>$65</td>
<td>×1</td>
<td><button class="btn btn-danger"><i class="fa-regular fa-circle-xmark"></i></button>
</td>
</tr>
<tr>
<td class="product-img-td"><a href="product.html"><img src="assets/img/products/2.jpg"
alt=""></a>
</td>
<td><a href="product.html">Product 2</a></td>
<td>$80</td>
<td>×2</td>
<td><button class="btn btn-danger"><i class="fa-regular fa-circle-xmark"></i></button>
</td>
</tr>
<tr>
<td class="product-img-td"><a href="product.html"><img src="assets/img/products/3.jpg"
alt=""></a>
</td>
<td><a href="product.html">Product 3</a></td>
<td>$100</td>
<td>×1</td>
<td><button class="btn btn-danger"><i class="fa-regular fa-circle-xmark"></i></button>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="4" class="text-end">Total:</td>
<td>$325</td>
</tr>
</tfoot>
</table>
</div>
<div class="text-end mt-3">
<a href="#" class="btn btn-outline-warning">Cart</a>
<a href="#" class="btn btn-outline-secondary">Checkout</a>
</div>
</div>
</div>
<main class="main">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<nav class="breadcrumbs">
<ul>
<li><a href="index.html">Home</a></li>
<li><span>Cart</span></li>
</ul>
</nav>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-lg-8 mb-3">
<div class="cart-content p-3 h-100 bg-white">
<div class="table-responsive">
<table class="table align-middle table-hover">
<thead class="table-dark">
<tr>
<th>Photo</th>
<th>Product</th>
<th>Price</th>
<th>Qty</th>
<th><i class="fa-regular fa-trash-can"></i></th>
</tr>
</thead>
<tbody>
<tr>
<td class="product-img-td">
<a href="#">
<img src="assets/img/products/1.jpg" alt="">
</a>
</td>
<td>
<a href="#" class="cart-content-title">
Product 1 Lorem ipsum dolor, sit amet consectetur adipisicing.
</a>
</td>
<td>$65</td>
<td>
<input type="number" value="1" class="form-control cart-qty">
</td>
<td>
<button class="btn btn-danger">
<i class="fa-regular fa-circle-xmark"></i>
</button>
</td>
</tr>
<tr>
<td class="product-img-td">
<a href="#">
<img src="assets/img/products/2.jpg" alt="">
</a>
</td>
<td><a href="#" class="cart-content-title">Product 2</a></td>
<td>$80</td>
<td>
<input type="number" value="2" class="form-control cart-qty">
</td>
<td>
<button class="btn btn-danger">
<i class="fa-regular fa-circle-xmark"></i>
</button>
</td>
</tr>
<tr>
<td class="product-img-td">
<a href="#">
<img src="assets/img/products/3.jpg" alt="">
</a>
</td>
<td><a href="#" class="cart-content-title">Product 3</a></td>
<td>$100</td>
<td>
<input type="number" value="1" class="form-control cart-qty">
</td>
<td>
<button class="btn btn-danger">
<i class="fa-regular fa-circle-xmark"></i>
</button>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="5" class="text-end">
<button class="btn btn-outline-warning">Update Cart</button>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
<div class="col-lg-4 mb-3">
<div class="cart-summary p-3 sidebar">
<h5 class="section-title"><span>Cart Summary</span></h5>
<div class="d-flex justify-content-between my-3">
<h6>Subtotal</h6>
<h6>$1000</h6>
</div>
<div class="d-flex justify-content-between my-3">
<h6>Coupon</h6>
<h6>-$20</h6>
</div>
<div class="d-flex justify-content-between my-3 border-bottom">
<h6>Shipping</h6>
<h6>$10</h6>
</div>
<button class="btn btn-link px-0 btn-coupon" data-bs-toggle="collapse"
data-bs-target="#collapseCoupon">
Have a Coupon?
</button>
<div class="input-group collapse" id="collapseCoupon">
<input type="text" class="form-control" placeholder="Coupon Code">
<button class="btn btn-warning">
<i class="fa-regular fa-circle-check"></i>
</button>
</div>
<div class="d-flex justify-content-between my-3">
<h3>Total</h3>
<h3>$990</h3>
</div>
<div class="d-grid">
<a href="#" class="btn btn-warning">Checkout</a>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="footer" id="footer">
<div class="container-fluid">
<div class="row">
<div class="col-md-3 col-6">
<h4>Information</h4>
<ul class="list-unstyled">
<li><a href="index.html">Home</a></li>
<li><a href="#">Payment</a></li>
<li><a href="#">Delivery</a></li>
<li><a href="#">Contacts</a></li>
</ul>
</div>
<div class="col-md-3 col-6">
<h4>Working hours</h4>
<ul class="list-unstyled">
<li>Paris, str. Bretan</li>
<li>mon-fri: 9:00 - 18:00</li>
</ul>
</div>
<div class="col-md-3 col-6">
<h4>Contacts</h4>
<ul class="list-unstyled">
<li><a href="tel:1234567890">123-456-7890</a></li>
<li><a href="tel:0987654321">098-765-4321</a></li>
</ul>
</div>
<div class="col-md-3 col-6">
<h4>Follow us</h4>
<ul class="footer-icons">
<li><a href="#"><i class="fa-brands fa-youtube"></i></a></li>
<li><a href="#"><i class="fa-brands fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fa-brands fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
<button id="top">
<i class="fa-solid fa-angles-up"></i>
</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/owlcarousel/owl.carousel.min.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>