-
Notifications
You must be signed in to change notification settings - Fork 34
/
cart.html
336 lines (323 loc) · 19.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>E-Commerce Template</title>
<link href="//fonts.googleapis.com/css?family=Righteous" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300i,700" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/all.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container-fluid">
<div class="row min-vh-100">
<div class="col-12">
<header class="row">
<!-- Top Nav -->
<div class="col-12 bg-dark py-2 d-md-block d-none">
<div class="row">
<div class="col-auto me-auto">
<ul class="top-nav">
<li>
<a href="tel:+123-456-7890"><i class="fa fa-phone-square me-2"></i>+123-456-7890</a>
</li>
<li>
<a href="mailto:[email protected]"><i class="fa fa-envelope me-2"></i>[email protected]</a>
</li>
</ul>
</div>
<div class="col-auto">
<ul class="top-nav">
<li>
<a href="register.html"><i class="fas fa-user-edit me-2"></i>Register</a>
</li>
<li>
<a href="login.html"><i class="fas fa-sign-in-alt me-2"></i>Login</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Top Nav -->
<!-- Header -->
<div class="col-12 bg-white pt-4">
<div class="row">
<div class="col-lg-auto">
<div class="site-logo text-center text-lg-left">
<a href="index.html">E-Commerce</a>
</div>
</div>
<div class="col-lg-5 mx-auto mt-4 mt-lg-0">
<form action="#">
<div class="form-group">
<div class="input-group">
<input type="search" class="form-control border-dark" placeholder="Search..." required>
<button class="btn btn-outline-dark"><i class="fas fa-search"></i></button>
</div>
</div>
</form>
</div>
<div class="col-lg-auto text-center text-lg-left header-item-holder">
<a href="#" class="header-item">
<i class="fas fa-heart me-2"></i><span id="header-favorite">0</span>
</a>
<a href="cart.html" class="header-item">
<i class="fas fa-shopping-bag me-2"></i><span id="header-qty" class="me-3">2</span>
<i class="fas fa-money-bill-wave me-2"></i><span id="header-price">$4,000</span>
</a>
</div>
</div>
<!-- Nav -->
<div class="row">
<nav class="navbar navbar-expand-lg navbar-light bg-white col-12">
<button class="navbar-toggler d-lg-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#mainNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="mainNav">
<ul class="navbar-nav mx-auto mt-2 mt-lg-0">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="electronics" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Electronics</a>
<div class="dropdown-menu" aria-labelledby="electronics">
<a class="dropdown-item" href="category.html">Computers</a>
<a class="dropdown-item" href="category.html">Mobile Phones</a>
<a class="dropdown-item" href="category.html">Television Sets</a>
<a class="dropdown-item" href="category.html">DSLR Cameras</a>
<a class="dropdown-item" href="category.html">Projectors</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="fashion" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Fashion</a>
<div class="dropdown-menu" aria-labelledby="fashion">
<a class="dropdown-item" href="category.html">Men's</a>
<a class="dropdown-item" href="category.html">Women's</a>
<a class="dropdown-item" href="category.html">Children's</a>
<a class="dropdown-item" href="category.html">Accessories</a>
<a class="dropdown-item" href="category.html">Footwear</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="books" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Books</a>
<div class="dropdown-menu" aria-labelledby="books">
<a class="dropdown-item" href="category.html">Adventure</a>
<a class="dropdown-item" href="category.html">Horror</a>
<a class="dropdown-item" href="category.html">Romantic</a>
<a class="dropdown-item" href="category.html">Children's</a>
<a class="dropdown-item" href="category.html">Non-Fiction</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
<!-- Nav -->
</div>
<!-- Header -->
</header>
</div>
<div class="col-12">
<!-- Main Content -->
<div class="row">
<div class="col-12 mt-3 text-center text-uppercase">
<h2>Shopping Cart</h2>
</div>
</div>
<main class="row">
<div class="col-12 bg-white py-3 mb-3">
<div class="row">
<div class="col-lg-6 col-md-8 col-sm-10 mx-auto table-responsive">
<form class="row">
<div class="col-12">
<table class="table table-striped table-hover table-sm">
<thead>
<tr>
<th>Product</th>
<th>Price</th>
<th>Qty</th>
<th>Amount</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<img src="images/image-2.jpg" class="img-fluid">
Optoma 4K HDR Projector
</td>
<td>
$1,500
</td>
<td>
<input type="number" min="1" value="1">
</td>
<td>
$1,500
</td>
<td>
<button class="btn btn-link text-danger"><i class="fas fa-times"></i></button>
</td>
</tr>
<tr>
<td>
<img src="images/image-3.jpg" class="img-fluid">
HP Envy Specter 360
</td>
<td>
$2,500
</td>
<td>
<input type="number" min="1" value="1">
</td>
<td>
$2,500
</td>
<td>
<button class="btn btn-link text-danger"><i class="fas fa-times"></i></button>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="3" class="text-right">Total</th>
<th>$4,000</th>
<th></th>
</tr>
</tfoot>
</table>
</div>
<div class="col-12 text-right">
<button class="btn btn-outline-secondary me-3" type="submit">Update</button>
<a href="#" class="btn btn-outline-success">Checkout</a>
</div>
</form>
</div>
</div>
</div>
</main>
<!-- Main Content -->
</div>
<div class="col-12 align-self-end">
<!-- Footer -->
<footer class="row">
<div class="col-12 bg-dark text-white pb-3 pt-5">
<div class="row">
<div class="col-lg-2 col-sm-4 text-center text-sm-left mb-sm-0 mb-3">
<div class="row">
<div class="col-12">
<div class="footer-logo">
<a href="index.html">E-Commerce</a>
</div>
</div>
<div class="col-12">
<address>
221B Baker Street<br>
London, England
</address>
</div>
<div class="col-12">
<a href="#" class="social-icon"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social-icon"><i class="fab fa-twitter"></i></a>
<a href="#" class="social-icon"><i class="fab fa-pinterest-p"></i></a>
<a href="#" class="social-icon"><i class="fab fa-instagram"></i></a>
<a href="#" class="social-icon"><i class="fab fa-youtube"></i></a>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-8 text-center text-sm-left mb-sm-0 mb-3">
<div class="row">
<div class="col-12 text-uppercase">
<h4>Who are we?</h4>
</div>
<div class="col-12 text-justify">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam imperdiet vel ligula vel sodales. Aenean vel ullamcorper purus, ac pharetra arcu. Nam enim velit, ultricies eu orci nec, aliquam efficitur sem. Quisque in sapien a sem vestibulum volutpat at eu nibh. Suspendisse eget est metus. Maecenas mollis quis nisl ac malesuada. Donec gravida tortor massa, vitae semper leo sagittis a. Donec augue turpis, rutrum vitae augue ut, venenatis auctor nulla. Sed posuere at erat in consequat. Nunc congue justo ut ante sodales, bibendum blandit augue finibus.</p>
</div>
</div>
</div>
<div class="col-lg-2 col-sm-3 col-5 ms-lg-auto ms-sm-0 ms-auto mb-sm-0 mb-3">
<div class="row">
<div class="col-12 text-uppercase">
<h4>Quick Links</h4>
</div>
<div class="col-12">
<ul class="footer-nav">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">Contact Us</a>
</li>
<li>
<a href="#">About Us</a>
</li>
<li>
<a href="#">Privacy Policy</a>
</li>
<li>
<a href="#">Terms & Conditions</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-lg-1 col-sm-2 col-4 me-auto mb-sm-0 mb-3">
<div class="row">
<div class="col-12 text-uppercase text-underline">
<h4>Help</h4>
</div>
<div class="col-12">
<ul class="footer-nav">
<li>
<a href="#">FAQs</a>
</li>
<li>
<a href="#">Shipping</a>
</li>
<li>
<a href="#">Returns</a>
</li>
<li>
<a href="#">Track Order</a>
</li>
<li>
<a href="#">Report Fraud</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6 text-center text-sm-left">
<div class="row">
<div class="col-12 text-uppercase">
<h4>Newsletter</h4>
</div>
<div class="col-12">
<form action="#">
<div class="mb-3">
<input type="text" class="form-control" placeholder="Enter your email..." required>
</div>
<div class="mb-3">
<button class="btn btn-outline-light text-uppercase">Subscribe</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer -->
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>