-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcart.php
executable file
·312 lines (306 loc) · 15.1 KB
/
cart.php
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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!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>E-Code-Commerce</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100">
<link rel="stylesheet" href="styles/bootstrap.min.css">
<link rel="stylesheet" href="styles/cart.css">
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
</head>
<body>
<div id="top"><!-- top starts-->
<div class="container">
<div class="col-md-6 offer">
<a href="#" class="btn btn-success btn-sm">
Welcome Guest
</a>
</div>
<div class="col-md-6">
<ul class="menu">
<li>
<a href="customer_register.php">
Register
</a>
</li>
<li>
<a href="checkout.php">
My Account
</a>
</li>
<li>
<a href="cart.php">
Go to Cart
</a>
</li>
<li>
<a href="checkout.php">
Login
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="navbar navbar-default" id="navbar">
<div class="container">
<div class="navbar-header">
<a href="index.php" class="navbar-brand home">
<img src="https://banner2.cleanpng.com/20180907/gsu/kisspng-logo-woocommerce-brand-wordpress-vector-graphics-woocommerce-logo-svg-vector-amp-png-transparent-5b92a1066f88a4.0923923115363361344569.jpg" alt="logo" class="hidden-xs" width="70px" height="55px">
<img src="https://banner2.cleanpng.com/20180907/gsu/kisspng-logo-woocommerce-brand-wordpress-vector-graphics-woocommerce-logo-svg-vector-amp-png-transparent-5b92a1066f88a4.0923923115363361344569.jpg" alt="logo" class="visible-xs" width="70px" height="55px">
</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation">
<span class="sr-only">Toggle Navigation</span>
<i class="fa fa-align-justify"></i>
</button>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#search">
<span class="sr-only">Toggle Search</span>
<i class="fa fa-search"></i>
</button>
</div>
<div class="navbar-collapse collapse" id="navigation">
<div class="padding-nav">
<ul class="nav navbar-nav navbar-left">
<li>
<a href="index.php">Home</a>
</li>
<li>
<a href="shop.php">Shop</a>
</li>
<li>
<a href="checkout.php">My Account</a>
</li>
<li class="active">
<a href="cart.php">Shopping Cart</a>
</li>
<li>
<a href="contact.php">Contact Us</a>
</li>
</ul>
</div>
<a class="btn btn-primary navbar-btn right" href="cart.php">
<i class="fa fa-shopping-cart"></i>
<span>10 Items in Cart</span>
</a>
<div class="navbar-collapse collapse right"><!-- navbar-collapse collapse right Starts -->
<button class="btn navbar-btn btn-primary" type="button" data-toggle="collapse" data-target="#search">
<span class="sr-only">Toggle Search</span>
<i class="fa fa-search"></i>
</button>
</div><!-- navbar-collapse collapse right Ends -->
<div class="collapse clearfix" id="search"><!-- collapse clearfix Starts -->
<form class="navbar-form" method="get" action="results.php"><!-- navbar-form Starts -->
<div class="input-group"><!-- input-group Starts -->
<input class="form-control" type="text" placeholder="Search" name="user_query" required>
<span class="input-group-btn"><!-- input-group-btn Starts -->
<button type="submit" value="Search" name="search" class="btn btn-primary">
<i class="fa fa-search"></i>
</button>
</span><!-- input-group-btn Ends -->
</div><!-- input-group Ends -->
</form><!-- navbar-form Ends -->
</div><!-- collapse clearfix Ends -->
</div>
</div>
</div>
<div id="content">
<div class="container">
<div class="col-md-12"><!-- col-md-12 Starts -->
<ul class="breadcrumb"><!-- breadcrumb Starts -->
<li>
<a href="index.php">Home</a>
</li>
<li>Cart</li>
</ul><!-- breadcrumb Ends -->
</div><!-- col-md-12 Ends -->
<div class="col-md-9" id="cart">
<div class="box">
<form action="cart.php" method="post" enctype="multipart-form-data">
<h1>Shopping Cart</h1>
<p class="text-muted">You currently have 3 item(s) in your cart</p>
<div class="table-responsive"><!-- table-responsive Starts -->
<table class="table"><!-- table Starts -->
<thead><!-- thead Starts -->
<tr>
<th colspan="2">Product</th>
<th>Quantity</th>
<th>Unit Price</th>
<th>Size</th>
<th colspan="1">Delete</th>
<th colspan="2">Sub-Total</th>
</tr>
</thead><!-- thead Ends -->
<tbody><!-- tbody Starts -->
<tr>
<td>
<img src="admin_area/product_images/product.jpg" alt="Product 1" class="img-responsive">
</td>
<td>
<a href="#">MARVEL Black Kids POLO T-Shirt</a>
</td>
<td>
<input type="text" name="qty" value="1" class="form-control">
</td>
<td>$100.00</td>
<td>Large</td>
<td>
<input type="checkbox" name="remove[]">
</td>
<td>$100.00</td>
</tr>
<tr>
<td>
<img src="admin_area/product_images/product.jpg" alt="Product 1" class="img-responsive">
</td>
<td>
<a href="#">MARVEL Black Kids POLO T-Shirt</a>
</td>
<td>
<input type="text" name="qty" value="1" class="form-control">
</td>
<td>$100.00</td>
<td>Large</td>
<td>
<input type="checkbox" name="remove[]">
</td>
<td>$100.00</td>
</tr>
<tr>
<td>
<img src="admin_area/product_images/product.jpg" alt="Product 1" class="img-responsive">
</td>
<td>
<a href="#">MARVEL Black Kids POLO T-Shirt</a>
</td>
<td>
<input type="text" name="qty" value="1" class="form-control">
</td>
<td>$100.00</td>
<td>Large</td>
<td>
<input type="checkbox" name="remove[]">
</td>
<td>$100.00</td>
</tr>
</tbody><!-- tbody Ends -->
<tfoot><!-- tfoot Starts -->
<tr>
<th colspan="5">Total</th>
<th colspan="2">$100.00</th>
</tr>
</tfoot><!-- tfoot Ends -->
</table><!-- table Ends -->
</div><!-- table-responsive Ends -->
<div class="box-footer"><!-- box-footer Starts -->
<div class="pull-left"><!-- pull-left Starts -->
<a href="index.php" class="btn btn-default">
<i class="fa fa-chevron-left"></i> Continue Shopping
</a>
</div><!-- pull-left Ends -->
<div class="pull-right"><!-- pull-right Starts -->
<button class="btn btn-default" type="submit" name="update" value="Update Cart">
<i class="fa fa-refresh"></i> Update Cart
</button>
<a href="checkout.php" class="btn btn-primary">
Proceed Checkout <i class="fa fa-chevron-right"></i>
</a>
</div><!-- pull-right Ends -->
</div><!-- box-footer Ends -->
</form>
</div>
<div id="row same-height-row"><!-- row same-height-row Starts -->
<div class="col-md-3 col-sm-6"><!-- col-md-3 col-sm-6 Starts -->
<div class="box same-height headline"><!-- box same-height headline Starts -->
<h3 class="text-center">Products You Maybe Like</h3>
</div><!-- box same-height headline Ends -->
</div><!-- col-md-3 col-sm-6 Ends -->
<div class="col-md-3 col-sm-6 center-responsive"><!-- col-md-3 col-sm-6 Starts -->
<div class="product same-height"><!-- product same-height Starts -->
<a href="details.php">
<img class="img-responsive" src="admin_area/product_images/product.jpg" alt="Product 1">
</a>
<div class="text"><!-- text Starts -->
<h3>
<a href="details.php">
MARVEL Black Kids POLO T-Shirt
</a>
</h3>
<p class="price">$100.00</p>
</div><!-- text Ends -->
</div><!-- product same-height Ends -->
</div><!-- col-md-3 col-sm-6 Ends -->
<div class="col-md-3 col-sm-6 center-responsive"><!-- col-md-3 col-sm-6 Starts -->
<div class="product same-height"><!-- product same-height Starts -->
<a href="details.php">
<img class="img-responsive" src="admin_area/product_images/product.jpg" alt="Product 1">
</a>
<div class="text"><!-- text Starts -->
<h3>
<a href="details.php">
MARVEL Black Kids POLO T-Shirt
</a>
</h3>
<p class="price">$100.00</p>
</div><!-- text Ends -->
</div><!-- product same-height Ends -->
</div><!-- col-md-3 col-sm-6 Ends -->
<div class="col-md-3 col-sm-6 center-responsive"><!-- col-md-3 col-sm-6 Starts -->
<div class="product same-height"><!-- product same-height Starts -->
<a href="details.php">
<img class="img-responsive" src="admin_area/product_images/product.jpg" alt="Product 1">
</a>
<div class="text"><!-- text Starts -->
<h3>
<a href="details.php">
MARVEL Black Kids POLO T-Shirt
</a>
</h3>
<p class="price">$100.00</p>
</div><!-- text Ends -->
</div><!-- product same-height Ends -->
</div><!-- col-md-3 col-sm-6 Ends -->
</div><!-- row same-height-row Ends -->
</div><!-- col-md-9 Ends -->
<div class="col-md-3">
<div class="box" id="order-summary">
<div class="box-header"><!-- box-header Starts -->
<h3>Order Summary</h3>
</div><!-- box-header Ends -->
<p class="text-muted">
Shipping and additional costs are calculated based on value you have entered
</p>
<div class="table-responsive"><!-- table-responsive Starts -->
<table class="table"><!-- table Starts -->
<tbody><!-- tbody Starts -->
<tr>
<td>Order Subtotal</td>
<th>$446.00</th>
</tr>
<tr>
<td>Shipping and Handling</td>
<td>$0.00</td>
</tr>
<tr>
<td>Tax</td>
<th>$0.00</th>
</tr>
<tr class="total">
<td>Total</td>
<th>$446.00</th>
</tr>
</tbody><!-- tbody Ends -->
</table><!-- table Ends -->
</div><!-- table-responsive Ends -->
</div><!-- box Ends -->
</div>
</div><!-- container Ends -->
</div><!-- content Ends -->
<?php
include("includes/footer.php");
?>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>