forked from mskhan95/KFC-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.html
199 lines (185 loc) · 8.81 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
<!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">
<title>Checkout</title>
<!-- Linked css sheet -->
<link rel="stylesheet" href="checkout.css">
</head>
<body>
<!-- <<<<<<<<<<< Normal Navbar >>>>>>>>>>>>> -->
<div id="checkNav">
<a href="./cart.html"><button class="cartBtn">Back to Cart</button></a>
<div class="logo">
<a href="index.html"><img src="https://online.kfc.co.in/static/media/kfcLogo.492728c6.svg"/></a>
</div>
<div class="helpTag">
<img src="./question.png" alt="image" />
<h4>Need Help?</h4>
</div>
<div class="signinTag">
<img src="https://images.ctfassets.net/wtodlh47qxpt/6bJdGLRkksNvWP4LI9ZiFF/cb89d6393492fd093e0f99980abfa39e/Account_Icon.svg" alt="image" />
<a href="accountpops.html"style="text-decoration: none;"><h4 id="AccountName">Account</h4></a>
</div>
</div>
<!--<<<<<<<<<<< Page Container >>>>>>>>>>>>>-->
<div id="parentContainer">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAeCAYAAAB5c901AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABNSURBVHgB7c9BDQAgAMPAgQ4c4F8KDvABFuBHSe+9LGmZ6SsXWkY52b3yW/M5A+kMpDOQzkA6A+kMpDOQzkA6A+kMpDOQzkA6A+kMpNu9MQhKmC+cDgAAAABJRU5ErkJggg=="/>
<div id="chkHeader">
<h1 class="checkoutTitle">CHECKOUT</h1>
<div class="secure-checkout">
<img src="https://online.kfc.co.in/static/media/Lock.e846db0a.svg" alt="image"><span class="secure"> Secure Checkout</span>
</div>
</div>
<!--<<<<<<<<<<< Container >>>>>>>>>>>>>-->
<div id="checkoutContainer">
<!-- <<<<<<<<<<<<<<<<<<<<< Left Section >>>>>>>>>>> -->
<div id="leftDiv">
<!-- DELIVERY INFO -->
<div class ="box1">
<div class="b1d1">
<h2>DELIVERY INFO</h2><!-- Append -->
</div>
<div class="b1d2">
<!-- Append -->
<img src="https://online.kfc.co.in/static/media/LocationOn.f57c1dfd.svg"/>
<br/>
<img src="https://online.kfc.co.in/static/media/WatchLater.3ca73ea2.svg"/>
</div>
<div class="b1d3">
<!-- Append -->
<p>Address ?</p>
<input type="text" class="enterAddress" id="address" placeholder="Enter full address">
<input type="text" class="enterAddress" id="pincode" placeholder="Pincode">
<p style="margin-top:5%;">ASAP</p>
</div>
</div>
<br/>
<!-- DELIVERY OPTIONS -->
<div class ="box2">
<div class="b2d1">
<h2>DELIVERY <br/>OPTIONS</h2>
</div>
<div class="b2d2">
<input type="radio" class="radio1"/><br/>
<br/><br/>
<input type="radio" class="radio1"/><br/>
</div>
<div class="b2d3">
<p>Leave at my door<br/>
To protect you and our team, we practice contactless delivery. Your driver will leave the order at your door, knock, step away, and wait at a safe distance for you to collect your food.
</p>
<br/>
<p>Hand it to me</p>
</div>
</div>
<br/>
<!-- CONTACT INFO -->
<div class="box3">
<div class="b3d1">
<h2>CONTACT INFO</h2>
</div>
<div class="b3d2">
<input type="text" class="enterAddress" id="name" placeholder="Full Name*">
<input type="text" class="enterAddress" placeholder="Phone Number*">
<input type="text" class="enterAddress" placeholder="Email*">
<br>
<div class="b3d3">
<input type="checkbox">
<p>I want to know about the cool stuff at KFC on Email & SMS (I know I can unsubscribe anytime).</p>
</div>
</div>
</div>
<br/>
<!-- PAYMENT -->
<div class="box4">
<div class="b4d1">
<h2>PAYMENT</h2>
</div>
<div class="b4d2">
<button id="payOptBtn">Add Payment Method</button>
<!-- Append -->
</div>
<!-- <div id="paymentMethodDiv"></div> -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>SELECT YOUR PAYMENT</h2>
</div>
<div class="modal-body">
<!-- Payment Options -->
<div class="opt">
<input type="radio" name="payment" class="radio" value="pay">
<p>Credit / Debit Card</p>
</div>
<br/>
<div class="opt">
<input type="radio" name="payment" class="radio" value="pay"/>
<p>Gift Card</p>
</div>
<br/>
<div class="opt">
<input type="radio" name="payment" class="radio" value="pay"/>
<p>Netbanking</p>
</div>
<br/>
<div class="opt">
<input type="radio" name="payment" class="radio" value="pay"/>
<p>Cash</p>
</div>
<br/>
<div class="opt">
<input type="radio" name="payment" class="radio" value="pay"/>
<p>UPI</p>
</div>
<br/>
<div class="opt">
<input type="radio" name="payment" class="radio" value="pay"/>
<p>Other Wallet</p>
</div>
<br/>
</div>
<div class="modal-footer">
<button id="subPay">Submit</button>
<!-- <a href="success.html"><buttonid="subPay">Submit</buttonid=></a> -->
</div>
</div>
</div>
</div>
</div>
<!-- <<<<<<<<<<<<<<<<<<< Right Section >>>>>>>>>>>> -->
<div class="cart_2ndsection">
<h1> <span id="totalquant"></span> ITEMS</h1><br/>
<div class="priceSection">
<div>
<p id="subtotal">Subtotal:<span class="chargeclass1" style="margin-left: 200px;">0</span></p>
</div>
</div>
<div class="priceSection">
<div class="ps1">
<p>Restaurant Handling Charges:<span class="chargeclass" style="margin-left: 218px;">75</span></p>
</div>
</div>
<div class="priceSection">
<div class="Gstprice">
<p>GST: <span class="chargeclass"style="margin-left: 260px;">19.96</span></p>
</div>
</div>
<div class="priceSection">
<div class="ps1">
<p id="Ordertotal">Order Total:<span class="chargeclass2" style="margin-left: 205px;">0</span></p>
</div>
</div>
<br>
<hr/>
<button class="checkoutBtn" onclick="checkoutConfirmation()">Confirm Order</button>
</div>
</div>
</div>
</body>
</html>
<script src="checkout.js"> </script>