forked from deepakChourasiya-aj/Furniture-Stock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdee_Billing_Address.html
621 lines (594 loc) · 18.4 KB
/
dee_Billing_Address.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&family=Roboto+Condensed&family=Roboto:wght@100&display=swap'); </style>
<!-- <link rel="stylesheet" href="navcss/navbar.css"> -->
<!-- <link rel="stylesheet" href="container/container.css"> -->
<!-- <link rel="stylesheet" href="footer/footer.css"> -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> -->
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> -->
<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet"> -->
<title>dee_Billing_Address</title>
</head>
<style>
body{
font-family: 'Poppins', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
}
*{
margin: 0;
padding: 0;
}
/* css for the logo */
.dee_logo {
margin: auto;
margin-top: 4vh;
margin-bottom: 2vh;
text-align: center;
}
.dee_logo img {
height: 14vh;
}
/* ================================== */
/* border css */
#dee_border {
width: 95%;
margin: auto;
border: 1px solid rgb(163, 152, 152);
}
/*display flex property for fedex part */
#dee_checkout_container {
width: 95%;
margin-bottom: 30px;
}
#dee_fedex {
display: flex;
width: 90%;
margin: auto;
margin-top: 20px;
}
/* fedex logog */
#dee_fedex_logo {
width: 100%;
margin: auto;
}
#dee_fedex_logo img {
width: 24%;
height: 8vh;
}
/* dee_billing_shipping address part */
.dee_billing_shipping {
/* border: 2px solid yellow; */
/* height: 65vh; */
font-size: 18px;
}
.dee_billing_shipping{
width: 90%;
display: flex;
flex-wrap: wrap;
margin: auto;
margin-top: 30px;
margin-bottom: 5%;
justify-content: space-around;
padding: 5px;
/* border: 2px solid green; */
}
.dee_billing_shipping>div{
border: 3px solid #000000;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.dee_billing_shipping input{
width: 245px;
padding: 4px;
margin: 3px;
}
.dee_billing_shipping label{
padding-right: 30px;
}
#dee_billstyle {
display: block;
/* padding-top: 3px ; */
padding: 5px;
/* padding-bottom: 3px ; */
margin-bottom: 10px;
font-size: larger;
background-color: rgb(230, 209, 171);
}
/* countries input styling */
#dee_country{
width: 100%;
padding: 5px;
}
#dee_country2{
width: 100%;
padding: 5px;
}
#dee_address_line_para{
width: 245px;
font-size: small;
}
/* =====Billing part */
/* order summary part css */
#dee_card_img img{
width: 100%;
height: 60vh;
}
.dee_Summary_card{
text-align: center;
width: 55%;
height: 120vh;
margin: auto;
/* border: 5px solid rgb(219, 191, 191); */
border-radius: 10px;
}
#dee_submit_details{
background-color: #776cf1;
border:none;
font-size: 15px ;
border-radius: 17px;
color: white;
font-weight: bold;
margin-top: 33px;
padding: 10px;
}
#dee_submit_details1{
background-color: #776cf1;
border:none;
margin-top: 20px;
border-radius: 17px;
color: white;
margin-top: 57px;
font-size: 15px ;
font-weight: bold;
margin-top: 62px;
padding: 10px;
}
/* .dee_div_btn >div {
display: grid;
grid-template-columns: repeat(1,1rf);
} */
.btn {
width: 25%;
background-color: #776cf1;
font-size: 27px;
letter-spacing: 0.023em;
font-style: normal;
margin: auto;
color: white;
border-radius: 5px;
text-align: center;
justify-content: center;
align-items: center;
padding: 10px;
}
.btncancel {
width: 15%;
background-color: #c0c0c5;
font-size: 27px;
letter-spacing: 0.023em;
font-style: normal;
margin: auto;
margin-top: 10px;
color: white;
border-radius: 5px;
text-align: center;
justify-content: center;
align-items: center;
padding: 10px;
}
/* this is for payment summary part */
#dee_card_img img{
width: 100%;
height: 60vh;
}
.dee_Summary_card{
text-align: center;
width: 55%;
height: 120vh;
margin: auto;
border: 5px solid rgb(219, 191, 191);
border-radius: 10px;
}
/* .dee_div_btn >div {
display: grid;
grid-template-columns: repeat(1,1rf);
} */
dee_div_btn{
}
.btn {
width: 25%;
background-color: #776cf1;
font-size: 27px;
letter-spacing: 0.023em;
font-style: normal;
margin: auto;
color: white;
border-radius: 5px;
text-align: center;
justify-content: center;
align-items: center;
padding: 10px;
}
.btncancel {
width: 15%;
background-color: #c0c0c5;
font-size: 27px;
letter-spacing: 0.023em;
font-style: normal;
margin: auto;
margin-top: 10px;
color: white;
border-radius: 5px;
text-align: center;
justify-content: center;
align-items: center;
padding: 10px;
}
#dee_summary_details{
text-align: left;
padding-left: 77px;
margin: 24px;
}
.btn:hover{
animation: animate 1s linear infinite;
}
@keyframes animate {
100% {
filter:hue-rotate(360deg);
}
}
</style>
<body>
<!-- <h1>hi everyone</h1> -->
<!-- logo part -->
<div class="dee_logo">
<!-- <img src="furniturefinallogo.png" alt="logo" /> -->
<a href="index.html"><img src="furniturefinallogo.png" alt="logo" /></a>
</div>
<!-- border part -->
<div id="dee_border"></div>
<!-- DEEPAK CHECKOUT CONTAINER -->
<div class="dee_checkout_container">
<div id="dee_fedex">
<div id="dee_fedex_logo">
<img
src="https://ak1.ostkcdn.com/img/mxc/20170922_fedexLogo.png"
alt=""
/>
</div>
<p>
<b
>Secure checkout provided by FedEx International. Your order total
includes customs and taxes, if applicable.</b
>
</p>
</div>
</div>
<!-- billing address part -->
<div class="dee_billing_shipping">
<div id="dee_billing_part">
<!-- billing code here -->
<b id="dee_billstyle">Billing Address</b>
<table>
<form action="" method="get" class="form_data">
<tr>
<td>
<label for="dee_email"><b>Email</b></label>
</td>
<td>
<input type="email" placeholder="Email..." id="dee_email" name="dee_email" />
</td>
</tr>
<tr>
<td>
<label for="dee_fname"><b>First Name</b></label>
</td>
<td>
<input type="text" placeholder=" First Name..." id="dee_fname" name="fname" />
</td>
</tr>
<tr>
<td>
<label for="dee_lname"><b>Last Name</b></label>
</td>
<td>
<input type="text" placeholder="Last Name..." id="dee_lname" name="lname" />
</td>
</tr>
<tr>
<td>
<label for="dee_company">Company</label>
</td>
<td>
<input type="text" placeholder="Company..." id="dee_company" name="dee_company" />
</td>
</tr>
<tr>
<td>
<label for="dee_taxID">Tax ID</label>
</td>
<td>
<input type="text"placeholder="Tax ID..." id="dee_taxID" name="dee_taxID" />
</td>
</tr>
<tr>
<td>
<label for="dee_Address1"><b>Address Line 1</b></label>
</td>
<td>
<input type="text" placeholder="Address Line 1..." id="dee_Address1" name="dee_Address1" />
</td>
</tr>
<tr>
<td>
<label for="dee_Address2">Address Line 2</label>
</td>
<td>
<input type="text" placeholder="Address Line 2..." id="dee_Address2" name="dee_Address2" />
</td>
</tr>
<tr>
<td>
<label for="dee_country"><b>Country</b></label>
</td>
<td>
<!-- <input type="text" id="dee_country" name="dee_country" /> -->
<select name="countries" id="dee_country">
<option value="IND">India</option>
<option value="RS">Russia</option>
<option value="USA">USA</option>
<option value="GR">Germanny</option>
<option value="FR">France</option>
<option value="UK">UK</option>
<option value="JP">Japan</option>
<option value="IT">Italy</option>
<option value="CH">China</option>
<option value="INDo">Indonesia</option>
<option value="SA">South Africa</option>
<option value="CA">Canada</option>
<option value="IR">Ireland</option>
</select>
</td>
</tr>
<tr>
<td>
<label for="dee_city"><b>City</b></label>
</td>
<td>
<input type="text" placeholder="'City..." id="dee_city" name="dee_city" />
</td>
</tr>
<tr>
<td>
<label for="dee_state">State </label>
</td>
<td>
<input type="text" placeholder="State..." id="dee_state" name="dee_state" />
</td>
</tr>
<tr>
<td>
<label for="dee_ZIP">ZIP Code </label>
</td>
<td>
<input type="text" placeholder="ZIP Code..." id="dee_ZIP" name="dee_ZIP" />
</td>
</tr>
<tr>
<td>
<label for="dee_Phone"><b>#Phone</b> </label>
</td>
<td>
<input type="text" placeholder="Phone..." id="dee_Phone" name="dee_Phone" />
</td>
</tr>
<!-- ================================================== -->
<!-- submit button -->
<div id="formdatadiv">
<tr>
<td>
<input type="submit" placeholder="..." id="dee_submit_details1">
</td>
</tr>
</div>
<!-- ======================================= -->
</form>
</table>
<!-- <button type="submit" id="formdata" form="form_data">Submit</button> -->
</div>
<div id="dee_shipping_part">
<!-- here shipping address code -->
<b id="dee_billstyle">Shipping Address</b>
<table>
<form action="" id="form2_data">
<tr>
<td>
<label for="dee_email"><b>Email</b></label>
</td>
<td>
<input type="email" placeholder="Email..." id="dee_email2" name="dee_email" />
</td>
</tr>
<tr>
<td>
<label for="dee_fname"><b>First Name</b></label>
</td>
<td>
<input type="text" placeholder="First Name..." id="dee_fname2" name="fname" />
</td>
</tr>
<tr>
<td>
<label for="dee_lname"><b>Last Name</b></label>
</td>
<td>
<input type="text" placeholder="Last Name..." id="dee_lname" name="lname" />
</td>
</tr>
<tr>
<td>
<label for="dee_company">Company</label>
</td>
<td>
<input type="text" placeholder="Company..." id="dee_company" name="dee_company" />
</td>
</tr>
<tr>
<td>
<label for="dee_taxID">Tax ID</label>
</td>
<td>
<input type="text" placeholder="Tax ID..." id="dee_taxID" name="dee_taxID" />
</td>
</tr>
<tr>
<td>
<label for="dee_Address1"><b>Address Line 1</b></label>
</td>
<td>
<input type="text" placeholder="Address Line 1..." id="dee_Address12" name="dee_Address1" />
</td>
</tr>
<tr>
<td>
<label for="dee_Address2">Address Line 2</label>
</td>
<td>
<input type="text" placeholder="Address Line 2..." id="dee_Address22" name="dee_Address2" />
<p id="dee_address_line_para">
We cannot ship to PO box, APO or FPO addresses.</p>
</td>
</tr>
<tr>
<td>
<label for="dee_country"><b>Country</b></label>
</td>
<td>
<!-- <input type="text" id="dee_country" name="dee_country" /> -->
<select name="countries" placeholder="..." id="dee_country2">
<option value="IND">India</option>
<option value="RS">Russia</option>
<option value="USA">USA</option>
<option value="GR">Germanny</option>
<option value="FR">France</option>
<option value="UK">UK</option>
<option value="JP">Japan</option>
<option value="IT">Italy</option>
<option value="CH">China</option>
<option value="INDo">Indonesia</option>
<option value="SA">South Africa</option>
<option value="CA">Canada</option>
<option value="IR">Ireland</option>
</select>
</td>
</tr>
<tr>
<td>
<label for="dee_city"><b>City</b></label>
</td>
<td>
<input type="text" placeholder="City..." id="dee_city2" name="dee_city" />
</td>
</tr>
<tr>
<td>
<label for="dee_state">State </label>
</td>
<td>
<input type="text" placeholder="State..." id="dee_state2" name="dee_state" />
</td>
</tr>
<tr>
<td>
<label for="dee_ZIP">ZIP Code </label>
</td>
<td>
<input type="text" placeholder="ZIP Code ..." id="dee_ZIP2" name="dee_ZIP" />
</td>
</tr>
<tr>
<td>
<label for="dee_Phone"><b>#Phone </b> </label>
</td>
<td>
<input type="text" placeholder="Phone..." id="dee_Phone2" name="dee_Phone" />
</td>
</tr>
<tr>
<td>
<input type="submit" id="dee_submit_details" >
</td>
</tr>
</form>
</table>
</div>
</div>
<!-- part -2 here -->
<div class="dee_Summary_card">
<div id="dee_card_img">
<img src="https://media.istockphoto.com/id/1252556057/vector/furniture-icons.jpg?s=1024x1024&w=is&k=20&c=CyFRZZQmZ1hDB32AXvJCLzgVyR1XzDciHu4T2qwHa1w=" alt="HERO">
</div>
<div class="dee_middle_order">
<div id="dee_order_body">
<h1>Order Summary</h1>
<p>Make your life comfort with furniture stock buy any thing whatever you want</p>
</div>
<div id="dee_summary_details">
<h5>Total Amount 40000 </h5>
<h5>Shipping Charges</h5>
<h5> </h5>
</div>
<div class="dee_div_btn">
<div><a href="Payment.html" class="btn pay">Proceed to Payment</a></div>
<!-- <div><a class="btncancel">Cancel Order</a></div> -->
</div>
</div>
<!-- timing -->
<div class="dee_Summary_card">
</div>
<footer id="faizan_footer">
</footer>
</body>
</html>
<script src="dee_billing.js" type="module"></script>
<script>
// let dee_price = 100
// let am = 890000;
let shipCharge = 100
let pricedata = JSON.parse(localStorage.getItem('cart-total'));
function order_Summary(pricedata,shipCharge){
let container = document.querySelector('.dee_Summary_card');
let total = pricedata+100;
return container.innerHTML= `
<div id="dee_card_img">
<img src="https://media.istockphoto.com/id/1252556057/vector/furniture-icons.jpg?s=1024x1024&w=is&k=20&c=CyFRZZQmZ1hDB32AXvJCLzgVyR1XzDciHu4T2qwHa1w=" alt="HERO">
</div>
<div id="dee_order_body">
<h1>Order Summary</h1>
<p>Make your life comfort with furniture stock buy any thing whatever you want</p>
</div>
<div id="dee_summary_details">
<h3>Price ${ ':'+ `₹`+' '+pricedata} </h3>
<h3>Shipping Charges ${ ':'+ `₹`+' '+shipCharge}</h3>
<h3>Total Amount '₹' ${total+shipCharge} after Discount</h3>
</div>
<div class="dee_div_btn">
<div><a onclick="movenext()" class="btn pay">Proceed to Payment</a></div>
</div>
`
}
order_Summary(pricedata,shipCharge);
</script>
<script>
function movenext(){
window.location.href="Payment.html"
}
</script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<!-- hello everyone -->