-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
426 lines (393 loc) · 19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Giỏ hàng</title>
<link href="./assets/img/favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="./assets/bootstrap.css" rel="stylesheet">
<link href="./assets/bootstrap-icons-1.10.4/font/bootstrap-icons.css" rel="stylesheet">
<script src="./assets/jquery-3.6.4.js"></script>
<!-- font awesome -->
<!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous"/> -->
<!-- <link rel="stylesheet" href="./assets/all.css"> -->
<script src="./assets/popper.min.js"></script>
<script src="./assets/bootstrap.js"></script>
<link href="./assets/font/stylesheet.css" rel="stylesheet">
<link href="./assets/styles.css" rel="stylesheet">
<script src="./assets/custom.js"></script>
<style>
/* input số lượng: set chiều rộng, bỏ viền cong, bỏ nút tăng giảm mặc định của type number*/
.group-soLuong {
width: 120px;
}
.no-border-radius,
.nav-pills .nav-link {
border-radius: 0px;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
</style>
<!--<script>
// khi nhán nút tăng giảm sô lượng value tăng or giảm theo áp dùng cho nhìu input số lượng, min là 1
$(document).ready(function () {
var quantityInput1 = document.getElementById("quantity1");
var decreaseButton1 = document.getElementById("decrease-quantity1");
var increaseButton1 = document.getElementById("increase-quantity1");
var quantityInput2 = document.getElementById("quantity2");
var decreaseButton2 = document.getElementById("decrease-quantity2");
var increaseButton2 = document.getElementById("increase-quantity2");
function handleQuantityChange(quantityInput, decreaseButton, increaseButton) {
decreaseButton.addEventListener("click", function () {
var currentQuantity = parseInt(quantityInput.value);
var newQuantity = currentQuantity - 1;
if (newQuantity < 1) {
newQuantity = 1;
}
quantityInput.value = newQuantity;
});
increaseButton.addEventListener("click", function () {
var currentQuantity = parseInt(quantityInput.value);
var newQuantity = currentQuantity + 1;
quantityInput.value = newQuantity;
});
}
handleQuantityChange(quantityInput1, decreaseButton1, increaseButton1);
handleQuantityChange(quantityInput2, decreaseButton2, increaseButton2);
});
</script>-->
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light py-4">
<div class="container">
<a class="navbar-brand" href="./index.html" style="width: 20%;">
<img alt="" src="./assets/img/symbolic logo.png" style="min-width: 150px;" width="100%">
</a>
<div class="order-lg-2 nav-btns">
<!-- Button trigger modal -->
<button class="btn position-relative" data-bs-target="#searchModal" data-bs-toggle="modal"
type="button">
<i class="bi bi-search"></i>
</button>
<!-- Modal -->
<div aria-hidden="true" aria-labelledby="searchModalLabel" class="modal fade" id="searchModal"
tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="searchModalLabel">Tìm kiếm sản phẩm</h5>
<button aria-label="Close" class="btn-close" data-bs-dismiss="modal"
type="button"></button>
</div>
<div class="modal-body">
<form action="./search.html" method="GET">
<div class="input-group mb-3">
<input aria-describedby="search-addon" aria-label="Tìm kiếm" class="form-control" name="search"
placeholder="" type="text">
<button class="btn btn-dark" id="search-addon" type="submit">Tìm kiếm</button>
</div>
</form>
</div>
</div>
</div>
</div>
<a class=" button btn position-relative" href="cart.html">
<i class="bi bi-bag"></i>
<span class="position-absolute top-0 start-100 translate-middle badge bg-dark cartSize"></span>
</a>
<button class="btn position-relative" type="button">
<a aria-expanded="false" aria-haspopup="true" class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
href="#" id="dropdownId">
<i class="bi bi-person pe-0"></i>
</a>
<div aria-labelledby="dropdownId" class="dropdown-menu">
<a class="dropdown-item" data-bs-target="#frmdk" data-bs-toggle="modal" href="#">Đăng ký</a>
<a class="dropdown-item" data-bs-target="#frmdn" data-bs-toggle="modal" href="#">Đăng nhập</a>
</div>
</button>
</div>
<button aria-controls="collapsibleNavId" aria-expanded="false" aria-label="Toggle navigation"
class="navbar-toggler d-lg-none" data-bs-target="#collapsibleNavId" data-bs-toggle="collapse"
type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavId">
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="./index.html">Trang chủ</a>
</li>
<li class="nav-item dropdown">
<a aria-expanded="false" aria-haspopup="true" class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
href="#" id="dropdownId">Sản phẩm</a>
<div aria-labelledby="dropdownId" class="dropdown-menu">
<a class="dropdown-item" href="./ALL.html">ALL</a>
<a class="dropdown-item" href="./VARSITY.html">VARSITY</a>
<a class="dropdown-item" href="./HOODIES.html">HOODIES</a>
<a class="dropdown-item" href="./JACKET.html">JACKET</a>
<a class="dropdown-item" href="./CARDIGANS.html">CARDIGANS</a>
<a class="dropdown-item" href="./T-SHIRTS-POLO-SHIRTS.html">T-SHIRTS & POLO-SHIRTS</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link " href="#">Tin tức</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Liên hệ</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./about.html">Giới thiệu</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- cây thư mục breadcrumb -->
<div class="container">
<div class="row my-5">
<nav aria-label="breadcrumb ">
<ol class="breadcrumb d-flex justify-content-center pt-3">
<li class="breadcrumb-item"><a href="./index.html">Trang chủ</a></li>
<li aria-current="page" class="breadcrumb-item active text-uppercase">Cart</li>
</ol>
</nav>
</div>
</div>
<!-- body -->
<div class="container">
<!-- table giỏ hàng -->
<div class="row mt-5">
<table class="table table-bordered text-center">
<thead>
<tr>
<th>Ảnh sản phẩm</th>
<th>Tên sản phẩm</th>
<th>Đơn giá</th>
<th>Số lượng</th>
<th>Thành tiền</th>
<th>Xóa</th>
</tr>
</thead>
<tbody class="cartList">
</tbody>
</table>
</div>
<div class="row my-5">
<div class="col-lg-3 col-md-12 py-3">
<a class="btn btn-outline-dark no-border-radius w-100" href="./index.html">Tiếp tục mua hàng</a>
</div>
<div class="col-lg-4 col-md-12 py-3 ms-auto">
<!--<h5 class="text-end">Tổng tiền thanh toán: 299.000 VND</h5>-->
<a class="btn btn-outline-dark no-border-radius w-100" href="./checkout.html">Tiến hành thanh toán</a>
</div>
</div>
</div>
<!-- Nhận thông tin khuyến mãi -->
<div class="container-fluid bg-black">
<div class="container">
<div class="row py-3">
<div class="col-lg-6 col-md-12 mt-2">
<h4 class="text-uppercase text-white">Nhận thông tin khuyến mãi từ chúng tôi</h4>
</div>
<div class="col-lg-6 col-md-12">
<form action="">
<div class="form-group d-flex">
<input aria-describedby="emailHelpId" class="form-control" id="" name="" placeholder="[email protected]"
style="border-radius: 0px" type="email">
<button class="btn btn-outline-light" style="border-radius: 0px" type="button">Gửi</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- footer -->
<footer class="bg-light pt-5">
<div class="container">
<div class="row g-4" style="border-bottom: 1px solid #333;">
<div class="col-md-6 col-lg-3">
<a class="text-uppercase text-decoration-none brand " href="index.html">
<img alt="" src="./assets/img/symbolic logo.png" width="200px">
</a>
<p class=" text-muted mt-3" style="text-align: justify">Chúng tôi cung cấp các sản phẩm quần áo thân
thiện môi trường, cam kết sử dụng nguyên liệu tái chế và tiết kiệm năng lượng trong sản xuất.
</p>
</div>
<div class="col-md-6 col-lg-3 ps-lg-5">
<h5 class="fw-semibold">Links</h5>
<ul class="list-unstyled">
<li class="my-3">
<a class=" text-decoration-none text-muted" href="./index.html">
<i class="bi bi-chevron-compact-right"></i> Trang chủ
</a>
</li>
<li class="my-3">
<a class=" text-decoration-none text-muted" href="./ALL.html">
<i class="bi bi-chevron-compact-right"></i> Sản phẩm
</a>
</li>
<li class="my-3">
<a class=" text-decoration-none text-muted" data-bs-target="#frmdk" data-bs-toggle="modal"
href="#">
<i class="bi bi-chevron-compact-right"></i> Đăng ký
</a>
</li>
<li class="my-3">
<a class=" text-decoration-none text-muted" data-bs-target="#frmdn" data-bs-toggle="modal"
href="#">
<i class="bi bi-chevron-compact-right"></i> Đăng nhập
</a>
</li>
</ul>
</div>
<div class="col-md-6 col-lg-3">
<h5 class="fw-semibold mb-3">Liên hệ chúng tôi</h5>
<div class="d-flex justify-content-start align-items-start my-2 text-muted">
<span class="me-3">
<i class="bi bi-geo-alt-fill"></i></i>
</span>
<span class="fw-light">
12 Nguyễn Văn Bảo, phường 4, <br>
Gò Vấp, TPHCM
</span>
</div>
<div class="d-flex justify-content-start align-items-start my-2 text-muted">
<span class="me-3">
<i class="bi bi-envelope-fill"></i>
</span>
<span class="fw-light">
</span>
</div>
<div class="d-flex justify-content-start align-items-start my-2 text-muted">
<span class="me-3">
<i class="bi bi-telephone-fill"></i>
</span>
<span class="fw-light">
0522 714 555
</span>
</div>
</div>
<div class="col-md-6 col-lg-3">
<h5 class="fw-semibold mb-3">Mạng xã hội</h5>
<div>
<ul class="list-unstyled d-flex">
<li>
<a class=" text-decoration-none text-muted fs-4 me-4" href="#">
<i class="bi bi-facebook"></i>
</a>
</li>
<li>
<a class=" text-decoration-none text-muted fs-4 me-4" href="#">
<i class="bi bi-instagram"></i>
</a>
</li>
<li>
<a class=" text-decoration-none text-muted fs-4 me-4" href="#">
<i class="bi bi-tiktok"></i>
</a>
</li>
<li>
<a class=" text-decoration-none text-muted fs-4 me-4" href="#">
<i class="bi bi-pinterest"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="row mt-3">
<p class="text-center">© Bản quyền thuộc về Symbolic | <b>Hành trình bền vững cùng thời trang của
bạn</b></p>
</div>
</div>
</footer>
<!-- end -->
<!--Modal Dang Nhap-->
<div aria-hidden="true" aria-labelledby="my-modal-title" class="modal fade" id="frmdn" role="dialog" tabindex="-1">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="my-modal-title">Đăng nhập</h5>
<button aria-label="Close" class="close" data-bs-dismiss="modal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="">Email</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="user1" name="" placeholder=""
type="text">
</div>
<div class="form-group">
<label for="">Mật khẩu</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="" name="" placeholder="" type="text">
</div>
<div class="form-group">
<h6 class="text-dark">Quên mật khẩu ?</h6>
</div>
<div class="form-group">
<button class="btn btn-dark form-control">Đăng nhập</button>
</div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<!--Modal Dang ky-->
<div aria-hidden="true" aria-labelledby="modelTitleId" class="modal fade" id="frmdk" role="dialog" tabindex="-1">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Đăng ký tài khoản</h5>
<button aria-label="Close" class="close" data-bs-dismiss="modal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="form-group">
<label for="">Họ</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="ho" name="" placeholder=""
type="text">
<span class="text-danger" id="erho"></span>
</div>
<div class="form-group">
<label for="">Tên</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="ten" name="" placeholder=""
type="text">
<span class="text-danger" id="erten"></span>
</div>
<div class="form-group">
<label for="">Số điện thoại</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="sdt" name="" placeholder=""
type="text">
<span class="text-danger" id="ersdt"></span>
</div>
<div class="form-group">
<label for="">Email</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="email" name="" placeholder=""
type="text">
<span class="text-danger" id="ermail"></span>
</div>
<div class="form-group">
<label for="">Nhập mật khẩu</label><span class="text-danger">*</span>
<input aria-describedby="helpId" class="form-control" id="pass" name="" placeholder=""
type="password">
<span class="text-danger" id="erpass"></span>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-dark form-control" type="button">Tạo tài khoản</button>
</div>
</div>
</div>
</div>
</body>
</html>