forked from mrcoder991/Hacktoberfest-Ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout.html
129 lines (110 loc) · 4.01 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
<!DOCTYPE html>
<html>
<head>
<title>Checkout | MerchStore</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="styles/style.css" media="screen" type="text/css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="scripts/jquery.store.js"></script>
<script type="text/javascript"
src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
</head>
<body id="checkout-page">
<div id="site">
<header id="masthead">
</header>
<div id="content">
<h1>Checkout</h1>
<table id="checkout-cart" class="shopping-cart">
<thead>
<tr>
<th scope="col">Item</th>
<th scope="col">Qty</th>
<th scope="col">Price</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div id="pricing">
<p id="shipping">
<strong>Shipping</strong>: <span id="sshipping"></span>
</p>
<p id="sub-total">
<strong>Total</strong>: <span id="stotal"></span>
</p>
</div>
<form action="order.html" id="checkout-order-form">
<h2>Your Details</h2>
<fieldset id="fieldset-billing">
<legend>Billing</legend>
<div>
<label for="name">Name</label>
<input type="text" name="name" id="name" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="email">Email</label>
<input type="email" name="email" id="email" data-type="string" data-message="Not a valid email address" />
</div>
<div>
<label for="city">City</label>
<input type="text" name="city" id="city" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="address">Address</label>
<input type="text" name="address" id="address" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="zip">ZIP Code</label>
<input type="text" name="zip" id="zip" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="country">Country</label>
<select name="country" id="country" data-type="string" data-message="This field cannot be empty">
<option value="">Select</option>
<option value="De">Denmark</option>
<option value="IN">India</option>
</select>
</div>
</fieldset>
<div id="shipping-same">Same as Billing <input type="checkbox" id="same-as-billing" value=""/></div>
<fieldset id="fieldset-shipping">
<legend>Shipping</legend>
<div>
<label for="sname">Name</label>
<input type="text" name="sname" id="sname" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="semail">Email</label>
<input type="email" name="semail" id="semail" data-type="expression" data-message="Not a valid email address" />
</div>
<div>
<label for="scity">City</label>
<input type="text" name="scity" id="scity" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="saddress">Address</label>
<input type="text" name="saddress" id="saddress" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="szip">ZIP Code</label>
<input type="text" name="szip" id="szip" data-type="string" data-message="This field cannot be empty" />
</div>
<div>
<label for="scountry">Country</label>
<select name="scountry" id="scountry" data-type="string" data-message="This field cannot be empty">
<option value="">Select</option>
<option value="De">Denmark</option>
<option value="IN">India</option>
</select>
</div>
</fieldset>
<p><input type="submit" id="submit-order" value="Submit" class="btn" /></p>
</form>
</div>
</div>
<footer id="site-info">
Copyright © MerchStore 2021 <br> Made with 💛 By Uday Girhepunje
</footer>
</body>
</html>