-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcart.html
More file actions
373 lines (311 loc) · 15.8 KB
/
cart.html
File metadata and controls
373 lines (311 loc) · 15.8 KB
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
<!DOCTYPE html>
<html>
<head>
<title>My Cart</title>
<link rel="icon" href="image/newTechLog.png" />
<link rel="stylesheet" href="style.css" />
<!-- meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous" />
<!-- Fonts -->
<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=Raleway:wght@400&display=swap" rel="stylesheet" />
<!-- Icon link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" />
<style>
.cbox {
height: 20px;
width: 20px;
}
</style>
</head>
<body style="background-color: #f2f3f7;">
<div class="sticky-top">
<!-- top navbar -->
<div class="top-navbar">
<div class="top-icons">
<i class="fa-brands fa-facebook-f fbtn"></i>
<i class="fa-brands fa-twitter tbtn"></i>
<i class="fa-brands fa-instagram ibtn"></i>
</div>
<div class="other-links">
<a href="login.html"> <button class="btn-login">Log in</button></a>
<a href="register.html"> <button class="btn-register ms-4 ms-md-4 me-5">Register</button></a>
<a href="myAccount.html"><i class="fa-solid fa-user userbtn"></i></a>
<a href="cart.html"><i class="fa-solid fa-cart-shopping cartbtn"></i></a>
<a href="watchlist.html"><i class="fa-regular fa-heart heartbtn"></i></a>
</div>
</div>
<!-- navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light" id="navbar">
<div class="container-fluid">
<!-- logo -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@900&family=Roboto&display=swap');
</style>
<a href="index.html" class="navbar-brand mb-0 h1"
style="font-family:'Raleway', sans-serif; color: #1c1c50; font-weight: 900;">
<img src="image/newTechLog.png" alt="NEW TECH logo" width="100" />
NEW TECH
</a>
<!-- nav-menu -->
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#n1"
aria-controls="n1" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fa-solid fa-bars" style="color: #1c1c50;"></i></span>
</button>
<div class="collapse navbar-collapse" id="n1">
<ul class="navbar-nav ms-5 nav-menu" style="font-size: larger;">
<li class="nav-item active ms-md-2 ms-xl-4">
<a href="index.html" class="nav-link active">
Home
</a>
</li>
<li class="nav-item dropdown ms-md-2 ms-xl-4">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Products
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="products.html#phone">Smart Phones</a></li>
<li><a class="dropdown-item" href="products.html#laptop">Laptops</a></li>
<li><a class="dropdown-item" href="products.html#TV">TVs</a></li>
<li><a class="dropdown-item" href="products.html#AC">Air Conditioners</a></li>
<li><a class="dropdown-item" href="products.html#fridge">Refrigerators</a></li>
<li><a class="dropdown-item" href="products.html#washing-machines">Washing Machines</a>
</li>
</ul>
</li>
<li class="nav-item ms-md-2 ms-xl-4">
<a class="nav-link" href="#AboutUs">About Us</a>
</li>
<li class="nav-item ms-md-2 ms-xl-4">
<a class="nav-link" href="#ContactUs">Contact Us</a>
</li>
<!-- advanced search -->
<div class="dropdown ms-5 mt-2">
<button type="button"
style="border: none; background-color: transparent; font-weight: bold;"
class=" dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"
data-bs-auto-close="outside">
Advanced Search
</button>
<form class="dropdown-menu p-4">
<select class="form-select form-select-sm" aria-label=".form-select-sm example">
<option selected style="font-weight: bold;">Select Product</option>
<option value="1">Smart Phone</option>
<option value="2">Laptop</option>
<option value="3">TV</option>
<option value="4">AC</option>
<option value="5">Fridge</option>
<option value="6">Other</option>
</select>
<br />
<select class="form-select form-select-sm" aria-label=".form-select-sm example">
<option selected style="font-weight: bold;">Select Brand</option>
<option value="1">Samsung</option>
<option value="2">Apple</option>
<option value="3">Huawei</option>
<option value="4">TCL</option>
<option value="5">LG</option>
</select>
<br />
<button type="button" class="btn-advanced btn-animation1"
onclick="search();">Search</button>
</form>
</div>
</ul>
<form class="d-flex mb-0 ms-auto">
<input class="form-control me-2" type="search" placeholder="Search Products..." />
<button class="d-flex align-items-end btn-search btn-animation1" type="button"
onclick="search();"><i class="fa-solid fa-magnifying-glass" style="padding: 4px;"></i>
Search</button>
</form>
</div>
</div>
</nav>
</div>
<!-- cart list -->
<div class="container">
<table class="t">
<thead>
<tr>
<div class="row">
<div class="col-6 text-start py-3">
<input type="checkbox" id="selectAll" class="cbox" />
<label for="selectAll">SELECT ALL</label>
</div>
<div class="col-6 text-end py-3">
<i class="fa-solid fa-trash-can" id="delete"></i>
<label for="delete">DELETE</label>
</div>
</div>
</tr>
</thead>
<tbody class="text-start">
<tr>
<td class="text-center">
<input type="checkbox" class="cbox" />
</td>
<td>
<img src="image/p7.jpg" class="img-fluid w-25" id="item1" />
<label for="item1" style="font-size: large;">Huawei Nova 9 SE</label>
</td>
<td>
<h4>Rs.125,999</h4>
</td>
<td>
<label for="qty" style="font-size: large;">Qty:</label>
<input type="number" value="1" class="qty" />
<div style="color: #1c1c5096;" class="text-center py-3">
<i class="fa-regular fa-heart"></i>
<i class="fa-solid fa-trash-can"></i>
</div>
</td>
</tr>
<tr>
<td class="text-center">
<input type="checkbox" class="cbox" />
</td>
<td>
<img src="image/lap6.jpg" class="img-fluid w-25" id="item2" />
<label for="item2" style="font-size: large;">MSI Sword 15 Laptop</label>
</td>
<td>
<h4>Rs.368,990</h4>
</td>
<td>
<label for="qty" style="font-size: large;">Qty:</label>
<input type="number" value="1" class="qty" />
<div style="color: #1c1c5096;" class="text-center py-3">
<i class="fa-regular fa-heart"></i>
<i class="fa-solid fa-trash-can"></i>
</div>
</td>
</tr>
<tr>
<td class="text-center">
<input type="checkbox" class="cbox" />
</td>
<td>
<img src="image/t5.png" class="img-fluid w-25" id="i3" />
<label for="item3" style="font-size: large;">SAMSUNG 674L INVERTER REFRIGERATOR
(Platinum Silver)</label>
</td>
<td>
<h4>Rs.669,990</h4>
</td>
<td>
<label for="qty" style="font-size: large;">Qty:</label>
<input type="number" value="1" class="qty" />
<div style="color: #1c1c5096;" class="text-center py-3">
<i class="fa-regular fa-heart"></i>
<i class="fa-solid fa-trash-can"></i>
</div>
</td>
</tr>
</tbody>
</table>
<div class="text-end py-4">
<label for="total">TOTAL:</label>
<input type="text" id="total" style="width: 120px; height: 30px; text-align: center;" />
<button class="btn-addtocart justify-content-center ms-4">
PROCESS TO CHECKOUT
</button>
</div>
</div>
<!-- customer sevice -->
<section class="container-fluid mt-5" style="background-color: aqua; margin-bottom: -50px;">
<div class="row text-center">
<div class="col-lg-3 col-md-6">
<i class="fa-solid fa-truck-fast mb-3 mt-5" style="font-size: 35px;"></i>
<h5>Free Islandwide Delivery</h5>
<p class="mb-5">For orders above Rs.100,000</p>
</div>
<div class="col-lg-3 col-md-6">
<i class="fa-solid fa-cart-arrow-down mb-3 mt-5" style="font-size: 35px;"></i>
<h5>Best Price Guarantee</h5>
<p class="mb-5">Lowest possible prices</p>
</div>
<div class="col-lg-3 col-md-6">
<i class="fa-regular fa-credit-card mb-3 mt-5" style="font-size: 35px;"></i>
<h5>Easy Payment Plans</h5>
<p class="mb-5">Instalment plans, offers & more</p>
</div>
<div class="col-lg-3 col-md-6">
<i class="fa-solid fa-headset mb-3 mt-5" style="font-size: 35px;"></i>
<h5>After Sales Service</h5>
<p class="mb-5">Customer support</p>
</div>
</div>
</section>
<!-- footer -->
<footer class="footer" style="margin-top: 50px;">
<div class="footer-top">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-6">
<h1>NEW TECH</h1>
<p>
No 361 Galle Road, <br>
Colombo 03, Sri Lanka. <br>
</p>
<br />
<strong id="ContactUs"><i class="fas fa-phone"></i> HOTLINE : +94 123 123 123</strong>
<br /><br />
<strong><i class="fa-solid fa-envelope"></i>
Email : newtech@gmail.com <br /><br /></strong>
</div>
<div class="col-lg-3 col-md-6 footer-links">
<h4 style="color: aqua;" id="quick-link">Quick Links</h4>
<ul class="h6 mt-3">
<a href="index.html" style="text-decoration: none;">
<li>Home</li>
</a>
<a href="products.html" style="text-decoration: none;">
<li>Products</li>
</a>
<a href="#AboutUs" style="text-decoration: none;">
<li>About Us</li>
</a>
<a href="#ContactUs" style="text-decoration: none;">
<li>Contact Us</li>
</a>
</ul>
</div>
<div class="col-lg-3 col-md-6">
<h4 style="color: aqua;" id="AboutUs">About New Tech</h4>
<p class="mt-4">New Tech (Pvt) Ltd is one of the leading online store that buys and sells
quality electronic
items in Sri Lanka.</p>
</div>
<div class="col-lg-3 col-md-6 b-icon">
<h4 style="color: aqua;">Our Social Network</h4>
<h6 class="mt-4">Keep In Touch</h6>
<div class="ms-0 mt-3">
<i class="fa-brands fa-facebook-f fbtn" style="padding: 7px;"></i>
<i class="fa-brands fa-twitter tbtn" style="padding: 7px;"></i>
<i class="fa-brands fa-instagram ibtn" style="padding: 7px;"></i>
<i class="fa-brands fa-linkedin-in fbtn" style="padding: 7px;"></i>
</div>
</div>
</div>
</div>
</div>
<hr>
<div class="container py-4">
<div class="copyright">
Copyright © 2023 <strong>New Tech</strong>. All Rights Reserved.
</div>
</div>
</footer>
<!-- js links -->
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
</body>
</html>