-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcheckout.html
659 lines (580 loc) · 35.2 KB
/
checkout.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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<script src="https://kit.fontawesome.com/24c494a6b6.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>Checkout</title>
<style>
.halofla{
font-weight: bold !important;
padding-bottom: 10px;
}
</style>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section>
<div class="row m-0 ">
<div class="col-xl-3 col-lg-3 col-md-4 col-sm-6 col-6">
<div class="funda">
<a class="navbar-brand" href="index.html">fundamental</a>
</div>
</div>
<div class="col-xl-6 col-lg-6 col-md-4 col-sm-3 col-2">
<div class="serchbox">
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="I'm searching for..">
<div class="input-group-append">
<button class="btn" type="submit"><i class="fa fa-search" ></i></button>
</div>
</div>
<!-- <input type="text" placeholder="I'm searching for.." name="search">
<span><i class="fa fa-search"></i></span> -->
<!-- <button type="submit"><i class="fa fa-search"></i></button> -->
</div>
</div>
<div class="col-xl-3 col-lg-3 col-md-4 col-sm-3 col-4">
<div class="firstiocn">
<div><a href="signup.html" class="text-dark"><i class="fa-regular fa-user"></i></a></div>
<div><i class="fa-regular fa-heart count"><span class="count1">0</span> </i> </div>
<div><a href="cart.html" class="text-dark"><i class="fa-solid fa-cart-shopping count"><span class="count1" id="countercart">0</span></i></a></div>
</div>
</div>
</div>
</section>
<section class="secondnav">
<nav class="navbar navbar-expand-lg ">
<div class="container-fluid prover ">
<button class="navbar-toggler text-center" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false"
aria-label="Toggle navigation">
Menu
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle active " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Television & Audio
</a>
<ul class="dropdown-menu televiosndiv" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="view all-telivision.html">Televison </a></li>
<li><a class="dropdown-item" href="#"> Audio</a></li>
<li><a class="dropdown-item navlighcolor" href="#">DVD Player</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Home Theater</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Party Speaker</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Sound Bars</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Appliances
</a>
<ul class="dropdown-menu applin" aria-labelledby="navbarDropdownMenuLink">
<div class="row m-0">
<div class="col-4 ">
<li><a class="dropdown-item" href="refrigerator.html">Refrigerator</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Direct Cool</a></li>
<li><a class="dropdown-item navlighcolor" href="#"> Frost Free</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Side By Side</a></li>
<li><a class="dropdown-item" href="#"> Washing Machine</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Front Loading</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Semi Automatic</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Top Loading</a></li>
</div>
<div class="col-4">
<li><a class="dropdown-item" href="#">Microwave</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Convection</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Grill</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Solo</a></li>
<li><a class="dropdown-item" href="#">Dish Washer</a></li>
<li><a class="dropdown-item" href="#">Dryer</a></li>
<li><a class="dropdown-item" href="#">Freezer</a></li>
</div>
</div>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Air Conditioner
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="view all-air.html">Split AC – Inverter</a></li>
<li><a class="dropdown-item" href="#">Split AC – Non Inverter</a></li>
<li><a class="dropdown-item" href="#">Window AC – Non Inverter</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Mobile & Tablets
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="mobile.html">Smart Phones</a></li>
<li><a class="dropdown-item" href="#">Featur Phones </a></li>
<li><a class="dropdown-item" href="#">Tablets </a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Wearables
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="wearables.html">Smart Watches</a></li>
<li><a class="dropdown-item" href="#">Smart Bands</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Computing
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="laptop.html">Laptops</a></li>
<li><a class="dropdown-item" href="#">Desktops</a></li>
<li><a class="dropdown-item" href="#">Printers</a></li>
<li><a class="dropdown-item" href="#">Monitors</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbark" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
Cameras
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="#">DSLR</a></li>
<li><a class="dropdown-item" href="#">Digital</a></li>
<li><a class="dropdown-item" href="#">Lense</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Gadgets & Accessories
</a>
<ul class="dropdown-menu gadgets" aria-labelledby="navbarDropdownMenuLink">
<div class="row m-0">
<div class="col-3 ">
<li><a class="dropdown-item" href="#">Headphones</a></li>
<li><a class="dropdown-item" href="#">Bluetooth Speakers</a></li>
<li><a class="dropdown-item" href="#">Gaming</a></li>
<li><a class="dropdown-item" href="#">MP3 Player</a></li>
<li><a class="dropdown-item" href="#">Voice Recorder</a></li>
<li><a class="dropdown-item" href="#">STB</a></li>
<li><a class="dropdown-item" href="#">Fire TV / Chromcast</a></li>
<li><a class="dropdown-item" href="#">Landline Telephones</a></li>
</div>
<div class="col-3">
<li><a class="dropdown-item" href="#">Mobile Accessories</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Connectors</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Covers</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Mobile Chargers</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Power Banks</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Screen Guards</a></li>
</div>
<div class="col-3">
<li><a class="dropdown-item" href="gadget.html"> IT Accessories</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Antivirus</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Cleaners</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Cooling Pads</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Keyboard</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Mouse</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Routers</a></li>
</div>
<div class="col-3">
<li><a class="dropdown-item" href="#">Memory</a></li>
<li><a class="dropdown-item navlighcolor" href="#">HDD</a></li>
<li><a class="dropdown-item navlighcolor" href="#">Memory Cards</a></li>
<li><a class="dropdown-item" href="#">Cables</a></li>
</div>
</div>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Small Apliiances
</a>
<ul class="dropdown-menu smallapll" aria-labelledby="navbarDropdownMenuLink">
<div class="row m-0">
<div class="col-lg-4 ">
<li><a class="dropdown-item" href="#">Air Cooler</a></li>
<li><a class="dropdown-item" href="#">Air Fryer</a></li>
<li><a class="dropdown-item" href="#">Air Purifier</a></li>
<li><a class="dropdown-item" href="#">Blender</a></li>
<li><a class="dropdown-item" href="#">Chimney</a></li>
<li><a class="dropdown-item" href="#">Chopper</a></li>
<li><a class="dropdown-item" href="#">Coffee Maker</a></li>
<li><a class="dropdown-item" href="#">Cook Top</a></li>
<li><a class="dropdown-item" href="#">Dry Iron</a></li>
</div>
<div class="col-lg-4">
<li><a class="dropdown-item" href="smallAppliances.html">Electric Kettle</a></li>
<li><a class="dropdown-item" href="#">Fan</a></li>
<li><a class="dropdown-item" href="#">Floor Care</a></li>
<li><a class="dropdown-item" href="#">Food Processor</a></li>
<li><a class="dropdown-item" href="#">Garment Steamer</a></li>
<li><a class="dropdown-item" href="#">Hand Mixer</a></li>
<li><a class="dropdown-item" href="#">Induction Cooker</a></li>
<li><a class="dropdown-item" href="#">Juicer</a></li>
<li><a class="dropdown-item" href="#">Juicer Mixer Grinder</a></li>
</div>
<div class="col-lg-4">
<li><a class="dropdown-item" href="#">Mixer Grinder</a></li>
<li><a class="dropdown-item" href="#">OTG</a></li>
<li><a class="dropdown-item" href="#">Rice Cooker</a></li>
<li><a class="dropdown-item" href="#">Sandwich Maker</a></li>
<li><a class="dropdown-item" href="#">Steam Iron</a></li>
<li><a class="dropdown-item" href="#">Toaster</a></li>
<li><a class="dropdown-item" href="#">Water Cooler</a></li>
<li><a class="dropdown-item" href="#">Water Heater</a></li>
<li><a class="dropdown-item" href="#">Water Purifier</a></li>
</div>
</div>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Personal Grooming
</a>
<ul class="dropdown-menu groom" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="#">Cliper</a></li>
<li><a class="dropdown-item" href="#">Cruel</a></li>
<li><a class="dropdown-item" href="#">Dryer & Straightener</a></li>
<li><a class="dropdown-item" href="#">Epilator</a></li>
<li><a class="dropdown-item" href="#">Multi Grooming</a></li>
<li><a class="dropdown-item" href="#">Body Grooming</a></li>
<li><a class="dropdown-item" href="#">Shaver</a></li>
<li><a class="dropdown-item" href="personalgroom.html">Trimmer</a></li>
<li><a class="dropdown-item" href="#">Styler</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</section>
<br>
<!-- write start code here -->
<br><br>
<!-- write start ode here -->
<div class="container">
<div class="row m-0 mt-5">
<div class="col-lg-6 col-md-12 col-sm-12">
<h6 class="halofla"> BILLING DETAILS</h6>
<div class="mt-5 formsss">
<div class="row">
<div class="col ">
<label for="">First Name</label><span class="text-danger"> *</span>
<input type="text" class="w-100">
</div>
</div>
<label class="mt-4" for="">Last Name</label><span class="text-danger"> *</span>
<input type="text" class="w-100">
<label class="mt-4" for="">Company Name(Optional)</label>
<input type="text" class="w-100">
<label class="mt-4" for="">GST Number(Optional)</label>
<input type="text" class="w-100">
<label class="mt-4" for="">Country / Region</label><span class="text-danger"> *</span><br>
<h6 class="mt-2">India</h6>
<label class="mt-4" for="">Street Address</label><span class="text-danger"> *</span><br>
<input type="text" class="w-100 mt-3" placeholder="House number ans street name">
<input type="text" class="w-100 mt-4" placeholder="Apartment, suite , unit, etc. (optional)">
<label class="mt-4" for="">Town / City</label> <span class="text-danger"> *</span>
<input type="text" class="w-100">
<label class="mt-4" for="">State / County</label><span class="text-danger"> *</span>
<input type="text" class="w-100">
<label class="mt-4" for="">Postcode / ZIP</label><span class="text-danger"> *</span>
<input type="text" class="w-100">
<label class="mt-4" for="">Phone</label><span class="text-danger"> *</span>
<input type="text" class="w-100">
<label class="mt-4" for="">Email Address</label><span class="text-danger"> *</span>
<input type="text" class="w-100">
<div class="d-flex ">
<div class="pt-3 "><input class="p-3" style="height: 30px;width: 25px;" type="checkbox" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample"></div>
<div class="pt-4 mx-5 flex-grow-1 ">
<h6>SHIP TO A DIFFERENT ADDRESS?</h6>
</div>
</div>
<div class="collapse" id="collapseExample">
<label class="mt-4" for="">First Name</label>
<input type="text" class="w-100">
<label class="mt-4" for="">Last Name</label>
<input type="text" class="w-100">
<label class="mt-4" for="">Street address</label>
<input type="text" class="w-100">
<label class="mt-4" for="">Town / City</label>
<input type="text" class="w-100">
<label class="mt-4" for="">State</label>
<input type="text" class="w-100">
<label class="mt-4" for="">PIN</label>
<input type="text" class="w-100">
</div>
<label class="mt-4" for="">Order notes (optional)</label><br>
<textarea placeholder="Notes about your oder, e.g. speial notes for delivery." name="" id="" cols="65" rows="5" class="teextarea form-control"></textarea>
<!-- <textarea placeholder="Notes about your oder, e.g. speial notes for delivery." id="story" name="story" rows="5" cols="70" class="teextarea text-danger" > -->
<!-- </textarea> -->
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 ">
<h6 class="halofla"> YOUR ORDER</h6>
<hr>
<div class="d-flex bg-light p-3">
<div class="pt-3 flex-grow-1 ">
<h6 class="halofla">PRODUCT</h6>
<div id="Product_Name" class="halofla">
</div>
</div>
<div class="pt-3 ">
<h6 class="halofla">SUBTOTAL</h6>
<div id="pp" class="halofla">
<!-- <p>121212</p> -->
</div>
</div>
</div>
<div class="d-flex bg-light p-3">
<div class="flex-grow-1 ">
<div id="Product_Name" class="halofla">
</div>
<!-- <p class="Product_Name">(15 Inch Height) Ganesh Murti For Ganesh Chaturthi - Orange × 1</p> -->
</div>
<div class="">
<div id="pp" class="halofla">
<!-- <p>121212</p> -->
</div>
<!-- <p class="Product_price">₹1,111</p> -->
</div>
</div>
<div class="d-flex bg-light p-3">
<div class="pt-3 flex-grow-1 ">
<h6 class="halofla">Subtotal</h6>
</div>
<div class="pt-3 ">
<h6 id="subtotal" class="halofla"></h6>
</div>
</div>
<div class="d-flex bg-light p-3">
<div class="pt-3 flex-grow-1 ">
<h6 class="halofla">GST(18%)</h6>
</div>
<div class="pt-3 ">
<h6 id="gst" class="halofla"></h6>
</div>
</div>
<div class="d-flex bg-light p-3">
<div class="pt-3 flex-grow-1 ">
<h6 class="halofla">Total</h6>
</div>
<div class="pt-3 ">
<h5 id="total" class="halofla" style="color: green;"></h5>
</div>
</div>
<!-- <div class="p-2">
<p>Pay securely via Edge by Pine Labs.</p>
<p>Your personal data will be used to process your order, support your experience throughout
this website, and for other purposes described in our privacy policy.</p>
</div>
<div class="bg-white">
<input type="checkbox"> <span>I agree to the website terms and conditions </span><span class="text-danger">*</span>
</div>
<div class="d-grid gap-2">
<button class="d-grid btn btn-danger btn-lg" type="button">PLACE ORDER</button>
</div> -->
<div class="bg-light p-4 mt-3">
<input type="radio" class="" id="huey" name="drone" value="huey" checked>
<label for="huey">
<h6>Pay with UPI QR Code OR Credit / Debit Card</h6>
</label>
</div>
<div class="p-2">
<p>Your personal data will be used to process your order, support your experience throughout
this website, and for other purposes described in our privacy policy.</p>
</div>
<div class="p-2">
<div class="debit_cart bg-light p-4">
<div class="mb-3">
<!-- <label for="exampleInputEmail1" class="form-label">Enter Card Number</label> -->
<input placeholder="Card Number" type="text" maxlength="16" minlength="16"
class="form-control" id="card_number" aria-describedby="emailHelp">
<!-- <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div> -->
</div>
<div class="mb-3">
<select class="p-1 border w-25" name="Month">
<option value="january">January</option>
<option value="february">February</option>
<option value="march">March</option>
<option value="april">April</option>
<option value="may">May</option>
<option value="june">June</option>
<option value="july">July</option>
<option value="august">August</option>
<option value="september">September</option>
<option value="october">October</option>
<option value="november">November</option>
<option value="december">December</option>
</select>
<select class="p-1 border w-25" name="Year">
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
</select>
<input type="text" minlength="3" maxlength="3" placeholder="CVV" class="mt-3 form-control w-25" id="cvv">
</div>
<div class="row">
<div class="col-3">
<button id="otp" class="btn btn-success border btn-sm mt-2">SEND OTP</button>
</div>
<div class="col-4">
<input type="text" class="form-control border mt-2" style="height: 30px;" id="inotp"
placeholder="ENTER OTP">
</div>
</div>
</div>
</div>
<div class="d-grid gap-2">
<button id="order" class="d-grid btn btn-success btn-lg" type="button">PLACE ORDER</button>
</div>
</div>
</div>
</div>
<br><br>
<br><br>
<!-- ankit code here -->
<section class="container-fluid footfund1">
<div class="row m-0 ">
<div class="col-lg-6 col-md-6 col-sm-12 footfund ">
<h1>fundamental</h1>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 footfund3">
<ul>
<li></li>
<li>Follows Us on: </li>
<li><span><i class="fa-solid fa-camera-retro"></i></li>
<li><i class="fa-brands fa-facebook-square"></i></li>
<li><i class="fa-brands fa-youtube"></i></li>
</ul>
</div>
</div>
<div class="container">
<div class="row m-0">
<div class="col-lg-12 col-md-6 footfund4">
<ul>
<li> <a href="about.html"> About Us </a></li>
<li><a href="policy.html"> Exchange Policy </a> </li>
<li><a href="terms.html">Terms & Conditions</a></li>
<li><a href="shipp.html">Shipping & Return</a></li>
<li><a href="privacy.html">Privacy Policy</a></li>
<li><a href="contactus.html">Contact Us</a></li>
</ul>
</div>
</div>
</div>
</section>
<section class="container-fluid">
<div class="row " style="background-color: #323232;">
<div class="col-lg-6 col-md-12 col-sm-12 footfund5">
<p>Copyright © <span>Fundamental Electronics Pvt. Ltd.</span></p>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 footfund6">
<p>Powered by <span>Webaddictz</span></p>
</div>
</div>
</section>
<!-- ankit code ends -->
<div class="btot">
<a id="bttop" title="Go to top"><i class="fas fa-angle-up"></i></a>
</div>
<div class="what">
<a class="socialiconfoot"
href="https://api.whatsapp.com/send?phone=9190000000&text=Hi there! I have a question? "
target="_blank"><img data-cy="chat-widget-icon"
src="https://stkiwiwebdev.z23.web.core.windows.net/assets/svg/whatsapp-icon.svg"
style="width: 100%; height: 100%;"></a>
</div>
<script src="script.js"></script>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<script>
var sum = 0;
var data = JSON.parse(localStorage.getItem("cart")) || [];
console.log(data)
data.map(function (el, index) {
sum = sum + el.price * el.qty;
var p1 = document.createElement("p");
p1.innerHTML = el.name + " x " + el.qty;
var p2 = document.createElement("p");
p2.innerText = "₹ " + el.price * el.qty;
document.querySelector("#Product_Name").append(p1)
document.querySelector("#pp").append(p2)
});
document.querySelector("#subtotal").innerText = "₹ " + sum;
var gst = (sum * 18) / 100;
document.querySelector("#gst").innerHTML = "₹ " + Math.ceil(gst);
document.querySelector("#total").innerText = "₹ " + Math.round(sum + gst);
document.querySelector("#order").addEventListener("click", order);
document.querySelector("#otp").addEventListener("click", otpsned);
function otpsned() {
var cn = document.querySelector("#card_number").value
var cvv = document.querySelector("#cvv").value
if (cn.length == 16 && cvv.length == 3) {
swal({
title: "OTP has been sent",
text: "You OTP is 1234",
icon: "success",
button: "Got it!",
});
}
else{
swal({
title: "Oops Sorry,Please try agin!",
text: "Your information is incorrect ",
icon: "error",
button: "Got It",
});
}
}
function order() {
event.preventDefault()
console.log("")
var otp = document.querySelector("#inotp").value
if (otp == "1234")
{
// console.log("hi")
swal({
title: "Your order is place!",
text: "Thank you for shopping with us!",
icon: "success",
});
setInterval(function () {
window.location.href="index.html"
},3000)
}
else
{
swal({
text: "Your order is not place!",
title: "Your payment failed!",
icon: "error",
button: "Oops!",
});
}
}
</script>