-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorder.html
More file actions
222 lines (195 loc) · 8.25 KB
/
order.html
File metadata and controls
222 lines (195 loc) · 8.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Order Confirmation</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/vendors/handlebars.min.js"></script>
<script src="js/vanilla.js"></script>
<script src="js/order.js"></script>
<script type="text/x-handlebars-template">
{{> partials/htmlHead }}
</script>
</head>
<body>
<div>
<script id="partial-header" type="text/x-handlebars-template">
{{> partials/header orders='active' }}
</script>
</div>
<div>
<script type="text/x-handlebars-template">
{{> partials/hero title='Order Details' }}
</script>
</div>
<section class="cart padding-small">
<div class="container">
<main class="">
<div class="row">
<script type="text/x-handlebars-template">
<div class="col-lg-6">
<h3 class="mb-3">Your order</h3>
<div class="cart- table">
<div class="cart-header border-bottom border-top">
<div class="row d-flex text-capitalize">
<h4 class="col-5 m-0">Product</h4>
<h4 class="col-3 m-0">Quantity</h4>
<h4 class="col-4 m-0">Subtotal</h4>
</div>
</div>
{{#items}}
<div class="border-bottom padding-small">
<div class="row align-items-center">
<div class="col-5">
<div class="cart-info d-flex gap-2 flex-wrap align-items-center">
<div class="col-lg-5">
<div class="card-image">
<img src="{{#if image}}{{image}}{{else}}images/book-placeholder.png{{/if}}"
alt="{{title}}" class="img-fluid border rounded-3">
</div>
</div>
<div class="col-lg-6">
<div class="card-detail">
<h5 class="mt-2"><a href="details.html?id={{id}}">{{title}}</a></h5>
<div class="card-price">
<span class="price text-primary fw-light" data-currency-usd="$">${{toFixed price}}</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-3">
<div class="product-quantity">
<div class="product-qty d-flex justify-content-center">
<span class="fw-light">{{quantity}}</span>
</div>
</div>
</div>
<div class="col-4">
<div class="total-price">
<span class="money fw-light text-primary">${{toFixed total}}</span>
</div>
</div>
</div>
</div>
{{/items}}
</div>
<div class="cart-totals padding-small mb-3">
<div class="total-price pb-3">
<table cellspacing="0" class="table text-capitalize">
<tbody>
<tr class="subtotal pt-2 pb-2 border-bottom">
<th>Subtotal</th>
<td data-title="Subtotal">
<span class="price-amount amount text-primary ps-5 fw-light">
<bdi>
<span class="price-currency-symbol">$</span>{{subTotal}}
</bdi>
</span>
</td>
</tr>
<tr class="subtotal pt-2 pb-2 border-bottom">
<th>Discount</th>
<td data-title="Discount">
<span class="price-amount amount text-primary ps-5 fw-light">
<bdi>
<span class="price-currency-symbol">- $</span>{{discount}}
</bdi>
</span>
</td>
</tr>
<tr class="subtotal pt-2 pb-2 border-top border-bottom">
<th>Shipping</th>
<td data-title="Shipping">
<span class="price-amount amount text-primary ps-5 fw-light">
<bdi>
<span class="price-currency-symbol">$</span>{{shippingCosts}}
</bdi>
</span>
</td>
</tr>
<tr class="subtotal pt-2 pb-2 border-top border-bottom">
<th>Taxes</th>
<td data-title="Taxes">
<span class="price-amount amount text-primary ps-5 fw-light">
<bdi>
<span class="price-currency-symbol">$</span>{{taxes}}
</bdi>
</span>
</td>
</tr>
<tr class="order-total pt-2 pb-2 border-bottom">
<th>Grand Total</th>
<td data-title="Total">
<span class="price-amount amount text-primary ps-5 fw-light">
<bdi>
<span class="price-currency-symbol">$</span>{{grandTotal}}</bdi>
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-lg-6">
<h3 class="mb-3">Billing Details</h3>
<div class="billing-details">
<label for="fname">First Name*</label>
<span class="mt-2 mb-4 ps-3">{{billing.firstname}}</span><br>
<label for="lname">Last Name*</label>
<span class="mt-2 mb-4 ps-3">{{billing.lastname}}</span><br>
<label for="cname">Company Name</label>
<span class="mt-2 mb-4">{{billing.company}}</span><br>
<label for="country">Country / Region*</label>
<select id="country" name="country" class="form-select form-control mt-2 mb-4"
aria-label="Default select example" required>
<option value="0" selected>United States</option>
<option value="1">UK</option>
<option value="2">Australia</option>
<option value="3">Canada</option>
</select>
<label for="adr">Street Address*</label>
<input type="text" id="adr" name="address" placeholder="House number and street name"
class="form-control mt-3 ps-3 mb-3" required value="test">
<label for="city">Town / City *</label>
<input type="text" id="city" name="city" class="form-control mt-3 ps-3 mb-4" required value="test">
<label for="state">State *</label>
<select id="state" name="state" class="form-select form-control mt-2 mb-4"
aria-label="Default select example" required>
<option selected="">Florida</option>
<option value="1">New York</option>
<option value="2">Chicago</option>
<option value="3">Texas</option>
<option value="3">San Jose</option>
<option value="3">Houston</option>
</select>
<label for="zip">Zip Code *</label>
<input type="text" id="zip" name="zip" class="form-control mt-2 mb-4 ps-3" required value="test">
<label for="phone">Phone (optional)</label>
<input type="text" id="phone" name="phone" class="form-control mt-2 mb-4 ps-3" value="test">
<label for="email">Email address *</label>
<input type="text" id="email" name="email" class="form-control mt-2 mb-4 ps-3" required value="test">
</div>
<div class="button-wrap mt-3">
<button type="submit" class="btn">Place order</button>
</div>
</div>
</script>
</div>
</main>
</div>
</section>
<div>
<script type="text/x-handlebars-template">
{{> partials/footer }}
</script>
</div>
<script src="js/vendors/jquery-1.11.0.min.js"></script>
<script src="js/vendors/bootstrap.bundle.min.js"></script>
<script src="js/vendors/swiper-bundle.min.js"></script>
<script src="js/vendors/script.js"></script>
</body>
</html>