-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcheckout.html
150 lines (117 loc) · 6.22 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
<!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">
<link rel="icon" type="image/x-icon" href="img\tanishq_logo_browser_top.png">
<title>Checkout</title>
<link rel="stylesheet" href="styles\checkout.css">
</head>
<body>
<div id="checkoutNavbar">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/cb53f671-01d0-449e-b18d-a4e61e6ffa0b/TanishqLogo.png?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-cb53f671-01d0-449e-b18d-a4e61e6ffa0b-mC036IT" alt="">
<div>
<p class="bold">Do You Have A Question?</p>
<p>CALL US ON 1800-266-0123</p>
</div>
</div>
<div class="step">PLACE YOUR ORDER IN EASY STEPS</div>
<div id="details">
<h3>DELIVERY INFORMATION</h3>
<p class="shortP">In order to deliver your order, we need to gather some information from you. Please fill the form below.</p>
<h2>YOUR PERSONAL DETAILS</h2>
<p>TITLE </p>
<select id="select">
<option value="Select Title">Select Title</option>
<option value="male">Mr.</option>
<option value="female">Ms.</option>
</select>
<!-- <br> -->
<p>FIRST NAME * </p>
<input type="text" placeholder="FIRST NAME">
<p>LAST NAME * </p>
<input type="text" placeholder="LAST NAME">
<p>EMAIL ADDRESS *</p>
<input type="text" placeholder="EMAIL ADDRESS">
<p>Mobile NUMBER *</p>
<input type="number" placeholder="PHONE NUMBER">
<h2>DELIVERY DETAILS</h2>
<select name="" id="country">
<option value="India">India</option>
</select>
<p>PIN-CODE/ZIP-CODE *</p>
<input type="number" placeholder="6 Digit Pincode">
<p>STATE *</p>
<input type="text" placeholder="STATE">
<p>CITY *</p>
<input type="text" placeholder="CITY">
<p>STREET ADDRESS / BUILDING / LOCALITY *</p>
<input type="text" placeholder="Flat no, House no, Street Name">
<br>
<button id="btnPayment" onclick="show()" >Proceed to payment</button>
</div>
<div id="payment">
<div id="info">
<h2>PAYMENT INFORMATION</h2>
<p class="shortP">In order to process your order, we need to gather your payment details.
Please select a mode of payment below. You will be securely
redirected to our partner site to process this order.
</p>
<p>Complete your order using another payment method</p>
<div id="creditcard">
<h5> CARD / NET BANKING / WALLET / PhonePe</h5>
<p>Use your Cards,Wallets, PhonePe or Netbanking</p>
<div id="creditImg">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/c2e24c1f-930d-453b-a829-58027175d6e8/Visa_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-c2e24c1f-930d-453b-a829-58027175d6e8-nNmx7rM" alt="">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/a49ec125-3082-47bc-aa70-3cd826536ddb/MasterCard_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-a49ec125-3082-47bc-aa70-3cd826536ddb-nNmwrR3" alt="">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/de0bafe7-d87e-46d8-8773-44a05603d1e8/Maestro_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-de0bafe7-d87e-46d8-8773-44a05603d1e8-nNmwlPn" alt="">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/b1df0c3e-c9e3-4473-b595-3037b938d69f/Rupay_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-b1df0c3e-c9e3-4473-b595-3037b938d69f-nNmwXNE" alt="">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/4239bc8b-45d3-445a-a5eb-d1f125e5f5ea/Amex_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-4239bc8b-45d3-445a-a5eb-d1f125e5f5ea-nNmvWkk" alt="">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/4393ecb6-0d51-4c8b-b4ea-f8b276a12ea1/Diners_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-4393ecb6-0d51-4c8b-b4ea-f8b276a12ea1-nNmw5Lo" alt="">
<img src="https://www.tanishq.co.in/wps/wcm/connect/tanishq/95860dc1-e524-41b6-b912-91569181d58a/International_Razorpay.svg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_90IA1H80O0RT10QIMVSTFU3006-95860dc1-e524-41b6-b912-91569181d58a-nOygmGy" alt="">
</div>
<button id="btnPay" onclick="payment()">PAY FOR YOUR ORDER</button>
<p>By placing the order, you have read and agreed the Terms and Conditions and Privacy Policy of Tanishq.co.in</p>
</div>
</div>
<div id="total">
<div>
<h2>TOTAL BREAKDOWN</h2>
<div class="flex">
<p>ORDER SUBTOTAL</p>
<p>80638</p>
</div>
<div class="flex">
<p>DISCOUNT</p>
<p>0</p>
</div>
<div class="flex">
<p>SHIPPING</p>
<p>FREE</p>
</div>
<div class="flex">
<h2>YOU PAY</h2>
<h2>80638</h2>
</div>
<h4>INCLUSIVE OF ALL TAXES*</h4>
</div>
</div>
</div>
</body>
</html>
<script>
function payment(){
window.location.href = "payment.html"
}
function show(){
document.getElementById("payment").style.display = "flex"
// document.getElementById("payment").style.scroll-behavior = "smooth";
}
let flag = localStorage.getItem("flag_val");
if(flag=="true") {
let user_l = document.getElementById("user_l");
user_l.innerText = "HI " + JSON.parse(localStorage.getItem("userDataBase"))[0].F_name +"!(LOGOUT)" ;
console.log(JSON.parse(localStorage.getItem("userDataBase"))[0].F_name);
}
</script>