-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckout.html
More file actions
297 lines (288 loc) · 18.8 KB
/
checkout.html
File metadata and controls
297 lines (288 loc) · 18.8 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<link rel="stylesheet" href="css/style.css">
<title>Document</title>
</head>
<body>
<nav>
<div class="container-fluid navbar navbar-expand-lg static-top navbar-light bg-light ">
<a href="#" class="navbar-brand font-weight-bold" id="navLogo" aria-label="Staystong Brand">
<img src="../images\newLogo.png" alt="StayStrong Logo" id="brand"
aria-label="Staystong Logo">StayStrong</a>
<button class="navbar-toggler" data-toggle="collapse" data-target="#navbarMenu"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarMenu">
<ul class="navbar-nav" id="navbarLinks"> </ul>
<form class="form-inline my-2 my-lg-0 ml-auto navbar-expand-sm">
</div>
</div>
</nav>
<main role="main">
<section class="jumbotron text-center" id="jumbotron">
<div class="container">
<h1 class="jumbotron-heading">Stay Strong Boxing</h1>
<p class="lead text-dark">All of your boxing needs conveniently in one place!</p>
</p>
</div>
</section>
<div class="album py-5 text-center">
<div class="container">
<div class="row">
<div class="col-md-12 mb-2" id="cartContainer"></div>
<div class="col-md-4 order-md-2 mb-4 border" id="cartProducts">
<h4 class="d-flex justify-content-between align-items-center mb-3">
<span class="main-color-text" id="cartTotalPrice">£0</span>
<span class="text-muted" aria-label="Your Cart Section">Your cart</span>
</h4>
<ul class="list-group mb-3" id="cartList">
</ul>
</div>
<div class="col-md-8 order-md-1 border mb-4" id="checkoutForm">
<h4 class="mb-3" aria-label="Billing address">Billing address</h4>
<form class="needs-validation" novalidate="">
<div class="row">
<div class="col-md-6 mb-3">
<label for="firstName" aria-label="First name">First name</label>
<input type="text" class="form-control" id="firstName" placeholder="" value=""
required="" aria-label="Enter First name">
<div class="invalid-feedback" aria-label="Valid first name is required">
Valid first name is required.
</div>
</div>
<div class="col-md-6 mb-3">
<label for="lastName" aria-label="Enter Last Name">Last name</label>
<input type="text" class="form-control" id="lastName" placeholder="" value=""
required="">
<div class="invalid-feedback" aria-label="Valid last name is required">
Valid last name is required.
</div>
</div>
</div>
<div class="mb-3">
<label for="username" aria-label="Enter Username">Username</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">@</span>
</div>
<input type="text" class="form-control" id="username" placeholder="Username"
required="" aria-label="Enter Username">
<div class="invalid-feedback" style="width: 100%;"
aria-label="Your username is required">
Your username is required.
</div>
</div>
</div>
<div class="mb-3">
<label for="email" aria-label="Enter Email">Email <span
class="text-muted">(Optional)</span></label>
<input type="email" class="form-control" id="email" placeholder="[email protected]">
<div class="invalid-feedback"
aria-label="Please enter a valid email address for shipping updates">
Please enter a valid email address for shipping updates.
</div>
</div>
<div class="mb-3">
<label for="address" aria-label="Enter Adress line 1">Address</label>
<input type="text" class="form-control" id="address" placeholder="1234 Main St"
required="">
<div class="invalid-feedback" aria-label="Please enter your shipping address Line 1">
Please enter your shipping address.
</div>
</div>
<div class="mb-3">
<label for="address2" aria-label="Enter Adress line 2">Address 2 <span
class="text-muted">(Optional)</span></label>
<input type="text" class="form-control" id="address2" placeholder="Apartment or suite"
aria-label="Please enter your shipping address Line 2">
</div>
<div class="row">
<div class="col-md-5 mb-3">
<label for="country" aria-label="Select Country">Country</label>
<select class="custom-select d-block w-100" id="country" required="">
<option value="">Choose...</option>
<option aria-label="United Kingdom">United Kingdom</option>
<option aria-label="Ireland">Ireland</option>
<option aria-label="Scotland">Scotland</option>
</select>
<div class="invalid-feedback" aria-label="Please select a valid country">
Please select a valid country.
</div>
</div>
<div class="col-md-4 mb-3">
<label for="state" aria-label="Enter County">County</label>
<select class="custom-select d-block w-100" id="state" required="">
<option value="">Choose...</option>
<option aria-label="Yorkshire">Yorkshire</option>
</select>
<div class="invalid-feedback" aria-label="Please provide a valid Delivery Location">
Please provide a valid Delivery Location.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="post-code" aria-label="Enter Post Code">Post Code</label>
<input type="text" class="form-control" id="post-code" placeholder="" required="">
<div class="invalid-feedback" aria-label=" Post code required">
Post code required.
</div>
</div>
</div>
<hr class="mb-4">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="same-address">
<label class="custom-control-label" for="same-address" aria-label=" Question: Shipping address is the same as
my billing address">Shipping address is the same as my billing address</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="save-info">
<label class="custom-control-label" for="save-info"
aria-label="Question: Save this information for next time">Save this information for
next time</label>
</div>
<hr class="mb-4">
<h4 class="mb-3" aria-label="Payment Section">Payment</h4>
<div class="d-block my-3">
<div class="custom-control custom-radio">
<input id="credit" name="paymentMethod" type="radio" class="custom-control-input"
checked="" required="">
<label class="custom-control-label" for="credit"
aria-label="Question: Select Credit Card">Credit card</label>
</div>
<div class="custom-control custom-radio">
<input id="debit" name="paymentMethod" type="radio" class="custom-control-input"
required="">
<label class="custom-control-label" for="debit"
aria-label="Question: Select Debit Card">Debit card</label>
</div>
<div class="custom-control custom-radio">
<input id="paypal" name="paymentMethod" type="radio" class="custom-control-input"
required="">
<label class="custom-control-label" for="paypal"
aria-label="Question: Select Paypal">Paypal</label>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-3">
<label for="cc-name" aria-label="Name on card Label">Name on card</label>
<input type="text" class="form-control" id="cc-name" placeholder="" required=""
aria-label="">
<small class="text-muted"
aria-label="Important, Enter your name as displayed on card!">Full name as
displayed on card</small>
<div class="invalid-feedback" aria-label="Name on bank card required">Name on card
is required </div>
</div>
<div class="col-md-6 mb-3">
<label for="cc-number" aria-label="Credit card number Label">Credit card
number</label>
<input type="text" class="form-control" id="cc-number" placeholder="" required=""
aria-label="Enter Card number">
<div class="invalid-feedback" aria-label=" Credit card number is required">
Credit card number is required
</div>
</div>
</div>
<div class="row">
<div class="col-md-3 mb-3">
<label for="cc-expiration">Expiration</label>
<input type="text" class="form-control" id="cc-expiration" placeholder=""
required="" aria-label="Enter Expiration of your bank card">
<div class="invalid-feedback" aria-label="Expiration date required">
Expiration date required
</div>
</div>
<div class="col-md-3 mb-3">
<label for="cc-cvv" aria-label="CVV Label">CVV</label>
<input type="text" class="form-control" id="cc-cvv" placeholder="" required=""
aria-label="Enter CVV of your bank card">
<div class="invalid-feedback" aria-label="Security code required">
Security code required
</div>
</div>
</div>
<hr class="mb-4">
<button class="btn btn-dark btn-lg btn-block mb-5" type="submit" id="checkoutBtn"
aria-label="Chehckout Button">Checkout</button>
</form>
</div>
</div>
</div>
<footer class="page-footer font-small pt-4 bg-dark">
<div class="container-fluid text-center text-md-left">
<div class="row">
<div class="col-md-5 mt-md-0 text-white pl-6">
<h5 class="text-uppercase text-white" aria-label="Footer Content Shop Details">Footer
Content</h5>
<ul class="list-unstyled">
<li>
<i class="fa fa-phone"></i>
<span class="pl-3" aria-label="phone number: 01616263687">01616263687</span>
</li>
<li>
<i class="fa fa-paper-plane"></i>
<span class="pl-3" aria-label="[email protected]">[email protected]</span>
</li>
<li>
<i class="fa fa-clock-o"></i>
<span class="pl-3" aria-label="Open: Mon-Fri 8:00am-16:00pm">Open: Mon-Fri
8:00am-16:00pm</span>
<span class="pl-3" aria-label="Closed Sat-Sun">Closed Sat-Sun</span>
</li>
<li>
<i class="fa fa-map-marker"></i>
<span class="pl-3" aria-label="Whitworth House, Ashton Old Rd, Openshaw, Manchester M11
2WH"> Whitworth House, Ashton Old Rd, Openshaw, Manchester M11
2WH</span>
</li>
</ul>
</div>
<hr class="clearfix w-100 d-md-none pb-3">
<div class="col-md-3 mb-md-0 mb-3">
<h5 class="text-uppercase text-white" aria-label="Links Navigation">Links</h5>
<ul class="list-unstyled text-white" id="footerLinks">
</ul>
</div>
<div class="col-md-3 mb-md-0 mb-3 text-white">
<h5 class="text-uppercase" aria-label="Information Navigation">Information</h5>
<ul class="list-unstyled">
<li>
<a class="text-white" id="aboutUs" href="#!">About Us</a>
</li>
<li>
<a class="text-white" id="contactUs" href="#!">Contact Us</a>
</li>
<li>
<a class="text-white" id="deliveryInfo" href="#!">Delivery Info</a>
</li>
<li>
<a class="text-white" id="pricePromise" href="#!">Price Promise</a>
</li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright text-center py-3 text-white" aria-label="2020 Copyright">© 2020 Copyright:
<a href="#" class="text-white" aria-label="Website StayStrong.com"> StayStrong.com</a>
</div>
</footer>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>]
<script src="js/checkout.js"></script>
<script src="js/checkValidation.js"></script>
</body>
</html>