-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout.html
191 lines (163 loc) · 7.68 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
<!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="stylesheet" href="./S/checkout.css">
<title>CheckOut Page</title>
</head>
<body>
<center id="A"><img src="https://tse2.mm.bing.net/th?id=OIP.a38vx5dvw4B7maMWH6dkrwHaCF&pid=Api&P=0&w=592&h=167"
alt="" id="logo"></center>
<div id="checkoutBox">
<div>
<form id="checkoutForm" action="">
<h1>SHIPPING ADDRESS</h1><br>
<h2 class="h">Please enter your shipping address in the form below.</h2>
<label for="">Name</label>
<input type="text" id="name" placeholder="Enter your Name" />
<label for="">Mobile number</label>
<input type="Number" id="mobile" placeholder="Enter Mobile Number" />
<label for="">Pin Code</label>
<input type="text" id="" placeholder="Enter Pin"/>
<label for="">Flat, House no., Building, Company, Apartment</label>
<input type="text" id="house" placeholder="Address" />
<label for="">Area, Street, Sector, Village</label>
<input type="text" id="area" placeholder="Area" />
<label for="">LandMark</label>
<input type="text" placeholder="Landmark" />
<label for="">City</label>
<input type="text" id="city" placeholder="City"/><br /><br />
<label for="">Country</label>
<select name="" id="" >
<option value="India">India</option>
<option value="Nepal">Nepal</option>
<option value="Bhutan">Bhutan</option>
<option value="China">China</option>
<option value=" Maldives">Maldives</option>
<option value="Pakistan">Pakistan</option>
<option value=" Sri Lanka">Sri Lanka</option>
<option value=" Cambodia *">Cambodia *</option>
<option value="India">India</option>
<option value="USA">USA</option>
<option value="Australia">Australia</option>
<option value="France">France</option>
<option value="Germany">Germany</option>
<option value="South Africa">South Africa</option>
<option value="Nigeria">Nigeria</option>
<option value="Mexico">Mexico</option>
<option value="Argentina">Argentina</option>
<option value="Brazil">Brazil</option>
<option value="Canada">Canada</option>
<option value="Singapore">Singapore</option>
<option value="Sweden">Sweden</option>
</select>
<label for="">State</label>
<select name="" id="">
<option value="">Andhra Pradesh</option>
<option value="">Arunachal Pradesh</option>
<option value="">Assam</option>
<option value="">Bihar</option>
<option value="">Chandigarh (UT)</option>
<option value="">Chhattisgarh</option>
<option value="">Delhi</option>
<option value="">Goa</option>
<option value="">Gujarat</option>
<option value="">Haryana</option>
<option value="">Himachal Pradesh</option>
<option value="">Jammu and Kashmir</option>
<option value="">Jharkhand</option>
<option value="">Karnataka</option>
<option value="">Kerala</option>
<option value="">Madhya Pradesh</option>
<option value="">Maharashtra</option>
<option value="">Manipur</option>
<option value="">Meghalaya</option>
<option value="">Mizoram</option>
<option value="">Nagaland</option>
<option value="">Orissa</option>
<option value="">Punjab</option>
<option value="">Rajasthan</option>
<option value="">Sikkim</option>
<option value="">Tamil Nadu</option>
<option value="">Telangana</option>
<option value="">Tripura</option>
<option value="">Uttar Pradesh</option>
<option value="">Uttarakhand</option>
<option value="">West Bengal</option>
</select><br /><br />
<input type="submit" id="checkoutSubmit" value="Proceed to Check Out" />
</form>
</div>
<!-- <hr id> -->
<div id="imgDiv">
<h1>Shipping Methods</h1>
<h2 class="h">select your preferred shipping method.</h2>
<hr>
<ol><input type="radio">
<label for="">Express</label>
<p class="s">2-4 business days delivery time</p>
</ol>
<ol><input type="radio">
<label for="">Mytheresa packaging
</label>
<p class="s">Free</p>
</ol>
<hr>
<b><i>Shipping Process</i></b>
<hr>
<!-- <hr>
<input type="radio">
<label for="">Mytheresa packaging</label>
<img src="https://www.mytheresa.com/skin/frontend/mytheresa/default/images/package/package_mytheresa_2x.jpg" alt="">
-->
<img src="https://images.ctfassets.net/7st9xm42xppc/4oWy9736svWxxHSMTISA3W/64b391ecd8a29edb84bdf7323f21f159/58-min.png"
alt="" id="ship">
</div>
</div>
<center>
<h2 class="AA">You can also place your order via telephone.</h2>
</center>
<hr>
<div id="box3">
<div id="box4">
<center> <img src="https://tse3.mm.bing.net/th?id=OIP.K8tB-ffiXM1bVsps7ZK2kQHaHx&pid=Api&P=0&w=149&h=156"
alt="" id="foot">
<h2 class="AAA">CALL US</h2><br>
<h3>+49 89 127695-101</h3><br>
<p class="p">Available 24/7</p>
</center>
</div>
<div id="box4">
<center>
<img src="https://tse4.mm.bing.net/th?id=OIP.72cpVx9LWw693NWCbmj_NgHaHJ&pid=Api&P=0&w=180&h=174" alt=""
id="foot">
<h2 class="AAA">MAIL US</h2>
<p class="p">customercare@mytheresa.com</p>
</center>
</div>
</div>
<hr>
<h4>copyright © 2006-2022 mytheresa.com</h4>
</body>
<script>
document.querySelector("#checkoutForm").addEventListener("submit", checkoutFun);
var name = document.querySelector('#name').value;
var customer_data = [];
function checkoutFun() {
event.preventDefault();
var obj =
{
Name: document.querySelector("#name").value,
house: document.querySelector('#house').value,
area: document.querySelector("#area").value,
city: document.querySelector("#city").value,
}
customer_data.push(obj)
localStorage.setItem("customer_details", JSON.stringify(customer_data))
// console.log("inside")
window.location.href = "payment.html";
}
</script>
</html>