-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.html
195 lines (194 loc) · 6.89 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
---
layout: single
title: Checkout
---
<!-- ****** Checkout Area Start ****** -->
<div class="checkout_area section_padding_100">
<div class="container">
<div class="row">
<div class="col-12 col-md-6">
<div class="checkout_details_area mt-50 clearfix">
<div class="cart-page-heading">
<h5>Billing Address</h5>
<p>Enter your cupone code</p>
</div>
<form action="#" method="post">
<div class="row">
<div class="col-md-6 mb-3">
<label for="first_name">First Name <span>*</span></label>
<input
type="text"
class="form-control"
id="first_name"
value="" required
>
</div>
<div class="col-md-6 mb-3">
<label for="last_name">Last Name <span>*</span></label>
<input
type="text"
class="form-control"
id="last_name"
value=""
required
>
</div>
<div class="col-12 mb-3">
<label for="company">Company Name</label>
<input type="text" class="form-control" id="company" value="">
</div>
<div class="col-12 mb-3">
<label for="country">Country <span>*</span></label>
<select class="custom-select d-block w-100" id="country">
{% for country in site.countries %}
<option value="{{country.label}}">{{country.name}}</option>
{% endfor %}
</select>
</div>
<div class="col-12 mb-3">
<label for="street_address">Address <span>*</span></label>
<input
type="text"
class="form-control mb-3"
id="street_address"
value=""
>
<input
type="text"
class="form-control"
id="street_address2"
value=""
>
</div>
<div class="col-12 mb-3">
<label for="postcode">Postcode <span>*</span></label>
<input type="text" class="form-control" id="postcode" value="">
</div>
<div class="col-12 mb-3">
<label for="city">Town/City <span>*</span></label>
<input type="text" class="form-control" id="city" value="">
</div>
<div class="col-12 mb-3">
<label for="state">Province <span>*</span></label>
<input type="text" class="form-control" id="state" value="">
</div>
<div class="col-12 mb-3">
<label for="phone_number">Phone No <span>*</span></label>
<input
type="number"
class="form-control"
id="phone_number"
min="0"
value=""
>
</div>
<div class="col-12 mb-4">
<label for="email_address">Email Address <span>*</span></label>
<input
type="email"
class="form-control"
id="email_address"
value=""
>
</div>
<div class="col-12">
<div class="custom-control custom-checkbox d-block mb-2">
<input
type="checkbox"
class="custom-control-input"
id="customCheck1"
>
<label
class="custom-control-label"
for="customCheck1"
>
Terms and conitions
</label>
</div>
<div class="custom-control custom-checkbox d-block mb-2">
<input
type="checkbox"
class="custom-control-input"
id="customCheck2"
>
<label
class="custom-control-label"
for="customCheck2"
>
Create an accout
</label>
</div>
<div class="custom-control custom-checkbox d-block">
<input
type="checkbox"
class="custom-control-input"
id="customCheck3"
>
<label
class="custom-control-label"
for="customCheck3"
>
Subscribe to our newsletter
</label>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="col-12 col-md-6 col-lg-5 ml-lg-auto">
<div class="order-details-confirmation">
<div class="cart-page-heading">
<h5>Your Order</h5>
<p>The Details</p>
</div>
<ul class="order-details-form mb-4">
<li><span>Product</span> <span>Total</span></li>
{% assign total = 0 %}
{% for product in site.data.cart %}
{% assign sum = product.price | times: product.quantity %}
{% assign total = total | plus: sum %}
<li>
<span>{{product.name}}</span>
<span>{{site.currency}}{{product.price}}</span>
</li>
{% endfor %}
<li><span>Total</span> <span>{{site.currency}}{{total}}</span></li>
</ul>
<div id="accordion" role="tablist" class="mb-4">
{% for payment in site.payments %}
<div class="card">
<div class="card-header" role="tab" id="headingOne">
<h6 class="mb-0">
<a
data-toggle="collapse"
href="#collapseOne"
aria-expanded="false"
aria-controls="collapseOne"
>
<i class="fa fa-circle-o mr-3"></i>
{{payment.name}}
</a>
</h6>
</div>
<div
id="collapseOne"
class="collapse"
role="tabpanel"
aria-labelledby="headingOne"
data-parent="#accordion"
>
<div class="card-body">
<p>{{payment.terms}}</p>
</div>
</div>
</div>
{% endfor %}
</div>
<a href="#" class="btn karl-checkout-btn">Place Order</a>
</div>
</div>
</div>
</div>
</div>
<!-- ****** Checkout Area End ****** -->