-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
59 lines (59 loc) · 2.57 KB
/
cart.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Cart</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="assets/scripts/scripts.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
</head>
<body>
<div style="margin-bottom: 60px;">
<div w3-include-html="shared/header.html"></div>
</div>
<div class="container-fluid">
<br>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<h6 id="cart-items-heading"></h6>
</div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<table class="table table-hover" id="table">
<thead>
<tr>
<th></th>
<th>Product Name</th>
<th>Unit Price</th>
<th>Quantity</th>
<th>Sub Total</th>
<th></th>
</tr>
</thead>
<tbody id="content">
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<button onclick="updateCartDueQtyChange()" id="update_cart" type="button" class="btn btn-warning" style="color: white" disabled>Update Cart</button>
<button onclick="location.href = 'login.html';" id="place_order" type="button" class="btn btn-warning" style="color: white" disabled>Checkout</button>
</div>
</div>
</div>
<script>
includeHTML(false);
showCart();
</script>
</body>
</html>