-
Notifications
You must be signed in to change notification settings - Fork 105
/
cart.html
379 lines (370 loc) · 22.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
<!DOCTYPE html>
<html>
<head>
<title>Apni Dukaan</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="./static/style.css">
<link rel="icon" href="./Images/favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/60fedd8558.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS -->
<script src="https://kit.fontawesome.com/60fedd8558.js" crossorigin="anonymous"></script>
<title>Apni Dukaan</title>
<link rel="stylesheet" href="./static/cart.css">
</head>
<body>
<section>
<nav class="navbar navbar-expand-lg navbar-light" style="background: #2980b9;">
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">
<img src="Images\Logo\ApniDukan.png" alt="logo" width="45" height="35" class="d-inline-block align-text-top mr-2 navbar-logo">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 text-capitalize">
<ul class="navbar-nav mr-auto mb-2 mb-lg-0 text-capitalize">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./home.html">Home</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="./offers.html">Offers</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="./contactus.html">Contact us</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="login.html">Login</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="./about.html">About us</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="faq.html">FAQ</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Category
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="./mobile.html">Mobile</a></li>
<li><a class="dropdown-item" href="./books.html">Books</a></li>
<li><a class="dropdown-item" href="./">TV/Appliances</a></li>
<li><a class="dropdown-item" href="./furniture.html">Furniture</a></li>
<li><a class="dropdown-item" href="#">Baby/Kids</a></li>
<li><a class="dropdown-item" href="./stationery.html">Stationery</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="./login.html">Login/Signup</a></li>
</ul>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="cart.html">My Cart</a>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-dark" type="submit">Search</button>
</form>
</div>
</div>
</nav>
</section>
<section>
<div style="margin:20px 20px;" class="row">
<div style="padding:20px 30px;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;margin-right: 20px;margin-left: 35px;width: 58% !important;" class="col-md-7 box-sz">
<h3 class="mid1-sz" style="font-weight: 450!important;padding: 0px!important">Shopping Cart</h3>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<div class="row">
<div style="width: 33% !important;" class="col-md-4">
<img class="img-sz" style="height:200px" src="Images/mobile.jpg">
</div>
<div style="padding:10px 0px;width:50%!important" class="col-md-6">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important">Redmi Y2(Gold, 4GB RAM, 64GB Storage)</h5>
<p class="mid3-sz" style="color:#058552;margin:0!important">In Stock</p>
<p class="mid3-sz" style="color:grey;margin:0!important">Eligible for Free Shipping</p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Color: </span><span style="color:black">Gold</span></p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Size-name: </span><span style="color:black">4GB RAM, 64GB Storage</span></p>
<div style="display:flex;justify-content: flex-start;">
<p class="mid3-sz" style="margin:0!important;margin-right:10px!important"><span style="font-weight: 500">Qty: </span></p>
<select style="width:60px;height:40px" class="form-select select-ui" aria-label="Disabled select example">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
</div>
<div style="padding:10px 0px;width:17%!important" class="col-md-2">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span>10000</span></h5>
</div>
</div>
</div>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<div class="row">
<div style="width: 33% !important;" class="col-md-4">
<img class="img-sz" style="height:200px" src="Images/mobil2.jpg">
</div>
<div style="padding:10px 0px;width: 50% !important;" class="col-md-6">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important">Redmi Y2(Gold, 4GB RAM, 64GB Storage)</h5>
<p class="mid3-sz" style="color:#058552;margin:0!important">In Stock</p>
<p class="mid3-sz" style="color:grey;margin:0!important">Eligible for Free Shipping</p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Color: </span><span style="color:black">Gold</span></p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Size-name: </span><span style="color:black">4GB RAM, 64GB Storage</span></p>
<div style="display:flex;justify-content: flex-start;">
<p class="mid3-sz" style="margin:0!important;margin-right:10px!important"><span style="font-weight: 500">Qty: </span></p>
<select style="width:60px;height:40px" class="form-select select-ui" aria-label="Disabled select example">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
</div>
<div style="padding:10px 0px;width: 17% !important;" class="col-md-2">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span>10000</span></h5>
</div>
</div>
</div>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<div class="row">
<div style="width: 33% !important;" class="col-md-4">
<img class="img-sz" style="height:200px" src="Images/mobile6.jpg">
</div>
<div style="padding:10px 0px;width: 50% !important;" class="col-md-6">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important">Redmi Y2(Gold, 4GB RAM, 64GB Storage)</h5>
<p class="mid3-sz" style="color:#058552;margin:0!important">In Stock</p>
<p class="mid3-sz" style="color:grey;margin:0!important">Eligible for Free Shipping</p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Color: </span><span style="color:black">Gold</span></p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Size-name: </span><span style="color:black">4GB RAM, 64GB Storage</span></p>
<div style="display:flex;justify-content: flex-start;">
<p class="mid3-sz" style="margin:0!important;margin-right:10px!important"><span style="font-weight: 500">Qty: </span></p>
<select style="width:60px;height:40px" class="form-select select-ui" aria-label="Disabled select example">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
</div>
<div style="padding:10px 0px;width: 17% !important;" class="col-md-2">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span>10000</span></h5>
</div>
</div>
</div>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<div class="row">
<div style="width: 33% !important;" class="col-md-4">
<img class="img-sz" style="height:200px" src="Images/mobile4.jpg">
</div>
<div style="padding:10px 0px;width: 50% !important;" class="col-md-6">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important">Redmi Y2(Gold, 4GB RAM, 64GB Storage)</h5>
<p class="mid3-sz" style="color:#058552;margin:0!important">In Stock</p>
<p class="mid3-sz" style="color:grey;margin:0!important">Eligible for Free Shipping</p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Color: </span><span style="color:black">Gold</span></p>
<p class="mid3-sz" style="margin:0!important;"><span style="font-weight: 500">Size-name: </span><span style="color:black">4GB RAM, 64GB Storage</span></p>
<div style="display:flex;justify-content: flex-start;">
<p class="mid3-sz" style="margin:0!important;margin-right:10px!important"><span style="font-weight: 500">Qty: </span></p>
<select style="width:60px;height:40px" class="form-select select-ui" aria-label="Disabled select example">
<option value="1" selected>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
</div>
<div style="padding:10px 0px;width: 17% !important;" class="col-md-2">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span>10000</span></h5>
</div>
</div>
</div>
</div>
<div style="width: 36% !important;" class="col-md-4">
<div class="box-sz" style="padding:20px 30px;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
<h3 class="mid1-sz" style="font-weight: 450!important;padding: 0px!important">Total Amount</h3>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<p class="mid3-sz" style="color:#058552"><i class="fa fa-check-circle" aria-hidden="true"></i> Your order is eligible for FREE Delivery.</p>
<div>
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: left;">Item Total: </h5>
<h5 class="mid2-sz" style="font-weight: 400!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span id="total">40000</span></h5>
</div>
<br>
<div class="df-sz" style="margin-top: 15px">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: left;">Taxes & Charges: </h5>
<h5 class="mid2-sz" style="font-weight: 400!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span>100</span></h5>
</div>
<br>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: left;">To Pay: </h5>
<h5 class="mid2-sz" style="font-weight: 400!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span id="totaltopay">40100</span></h5>
</div>
<br>
<div style="display: flex;justify-content: center;">
<a class="btn btn-success" href="payment.html" role="button">Buy Now</a>
</div>
</div>
</div>
<div class="box-sz" style="padding:20px 30px;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;margin-top: 20px">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;">Sponsored Products related to items in your cart</h5>
<div style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE" class="row box1-sz">
<div style="width: 40% !important;" class="col-md-5">
<img class="img2-sz" style="height:130px" src="Images/mobile6.jpg">
</div>
<div style="width: 60% !important;" class="col-md-7">
<h6 class="mid2-sz" style="font-weight: 500!important;margin:0!important">Redmi Y2(Gold, 4GB RAM, 64GB Storage)</h6>
<p class="mid3-sz" style="color:#058552;margin:0!important">In Stock</p>
<h6 class="mid2-sz" style="font-weight: 500!important;margin:0!important"><i class="fa fa-inr" aria-hidden="true"></i> <span>11067</span></h6>
<a style="margin-top: 8px" class="btn btn-sm btn-primary" href="#" role="button">View More</a>
</div>
</div>
<div style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE" class="row box1-sz">
<div style="width: 40% !important;" class="col-md-5">
<img class="img2-sz" style="height:130px" src="Images/mobile6.jpg">
</div>
<div style="width: 60% !important;" class="col-md-7">
<h6 class="mid2-sz" style="font-weight: 500!important;margin:0!important">Redmi Y2(Gold, 4GB RAM, 64GB Storage)</h6>
<p class="mid3-sz" style="color:#058552;margin:0!important">In Stock</p>
<h6 class="mid2-sz" style="font-weight: 500!important;margin:0!important"><i class="fa fa-inr" aria-hidden="true"></i> <span>12045</span></h6>
<a style="margin-top: 8px" class="btn btn-sm btn-primary" href="#" role="button">View More</a>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="bg-dark text-white pt-5 pb-4" style="font-size: 18px;">
<div class="container text-md-left">
<div class="row text-md-left">
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Get to know us</h5>
<p>
<a href="./about.html" class="text-white" style="text-decoration: none;">About us</a>
</p>
<p>
<a href="./career.html" class="text-white" style="text-decoration: none;">Careers</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Press releases</a>
</p>
<p>
<a href="./cares.html" class="text-white" style="text-decoration: none;">Apni Dukaan cares</a>
</p>
<p>
<a href="./Partner Stores.html" class="text-white" style="text-decoration: none;">Our Partners</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Let us help you</h5>
<p>
<a href="./paypolicy.html" class="text-white" style="text-decoration: none;">Payments</a>
</p>
<p>
<a href="./shippolicy.html" class="text-white" style="text-decoration: none;">Shipping</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Cancellation and Returns</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Report an issue</a>
</p>
<p>
<a href="./contactus.html" class="text-white" style="text-decoration: none;">Contact us</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Policy</h5>
<p>
<a href="" class="text-white" style="text-decoration: none;">Return policy</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Time of use</a>
</p>
<p>
<a href="./privacy.html" class="text-white" style="text-decoration: none;">Privacy</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Make money with us</h5>
<p>
<a href="" class="text-white" style="text-decoration: none;">Sell on Apni Dukaan</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Advertise your products</a>
</p>
<p>
<a href="./Partner Stores.html" class="text-white" style="text-decoration: none;">Become our partner</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Join our mission</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<div>
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Connect with us</h5>
<p>
<a href="https://www.facebook.com" class="text-white" style="text-decoration: none;">
<i class="fab fa-facebook-square"></i>
Facebook
</a>
</p>
<p>
<a href="https://twitter.com" class="text-white" style="text-decoration: none;">
<i class="fab fa-twitter-square"></i>
Twitter
</a>
</p>
<p>
<a href="https://instagram.com" class="text-white" style="text-decoration: none;">
<i class="fab fa-instagram-square"></i>
Instagram
</a>
</p>
</div>
</div>
</div>
<hr class="mb-4">
<div class="row align-items-center">
<div class="text-center">
Copyright © and ® Since 2020 Under ApniDukaan.com | Qazi Maaz Arshad
</div>
</div>
</div>
</footer>
<!-- scroll to top button -->
<button id = "btnScrollToTop">
<i class="material-icons">arrow_upward</i>
</button>
<script>
const btnScrollToTop = document.querySelector("#btnScrollToTop");
btnScrollToTop.addEventListener("click", function () {
window.scrollTo(0,0); }
);
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script>
$('.select-ui').change(function(){
var value=parseInt($(this).parent('div').parent('div').parent('div').children('.col-md-2').children('h5').children('span').text());
var total= parseInt($(this).val()) * value;
console.log($(this).parent('div').parent('div').parent('div').children('.col-md-2').children('h5').children('span').text());
$(this).parent('div').parent('div').parent('div').children('.col-md-2').children('h5').children('span').text(total.toString());
var totalvalue=0;
$('.select-ui').each(function(){
totalvalue+=parseInt($(this).parent('div').parent('div').parent('div').children('.col-md-2').children('h5').children('span').text());
});
$('#total').text(totalvalue.toString());
totalvalue+=100;
$('#totaltopay').text(totalvalue.toString());
});
</script>
</body>
</html>