-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
163 lines (152 loc) · 8.28 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Cart</title>
<link rel="stylesheet" href="cart.css">
<!-- font awesome link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<!--Bootstrap link-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<!--navbar-->
<header>
<div class="header-1">
<a href="index.html" class="logo"><i class=></i></i>VENDIt<font style="color: #e03a3c">.</font></a>
<form action="" class="search-box-container">
<input type="search" id="search-box" placeholder="search here...">
<label for="search-box" class="fas fa-search"></label>
</form>
</div>
<div class="header-2">
<div id="menu-bar" class="fas fa-bars"></div>
<nav class="navbar">
<a href="index.html">home</a>
<a href="category.html">category</a>
<a href="contact.html">contact</a>
</nav>
<div class="icons">
<a href="cart.html" class="fas fa-shopping-cart"></a>
<a href="profile.html" class="fas fa-user-circle"></a>
</div>
</div>
</header>
<div class="container-fluid mt-5">
<h1 class="mb-5 text-center">Cart</h1>
<div class="row justify-content-center">
<div class="col-md-8 fs-3">
<div class="table-responsive">
<table id="myTable" class="table">
<thead>
<tr>
<th>Product</th>
<th>Name</th>
<th>Qty</th>
<th>Price</th>
<th class="text-right"><span id="amount" class="amount">Amount</span> </th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="product-img">
<div class="img-prdct"><img src="https://cdn.mos.cms.futurecdn.net/iC7HBvohbJqExqvbKcV3pP.jpg"></div>
</div>
</td>
<td>
<p>Potato</p>
</td>
<td>
<div class="button-container">
<button class="cart-qty-plus" type="button" value="+">+</button>
<input type="text" name="qty" min="0" class="qty form-control" value="0"/>
<button class="cart-qty-minus" type="button" value="-">-</button>
</div>
</td>
<td>
<input type="text" value="72" class="price form-control" disabled>
</td>
<td align="right">₹ <span id="amount" class="amount">0</span></td>
</tr>
<tr>
<td>
<div class="product-img">
<div class="img-prdct"><img src="https://www.bolster.eu/media/images/1745_dbweb.jpg?1549350221"></div>
</div>
</td>
<td>
<p>Radish</p>
</td>
<td>
<div class="button-container">
<button class="cart-qty-plus" type="button" value="+">+</button>
<input type="text" name="qty" min="0" class="qty form-control" value="0"/>
<button class="cart-qty-minus" type="button" value="-">-</button>
</div>
</td>
<td>
<input type="text" value="125" class="price form-control" disabled>
</td>
<td align="right">₹ <span id="amount" class="amount">0</span></td>
</tr>
<tr>
<td>
<div class="product-img">
<div class="img-prdct"><img src="https://post.healthline.com/wp-content/uploads/2020/07/beets-1200x628-facebook-1200x628.jpg"></div>
</div>
</td>
<td>
<p>Beetroots</p>
</td>
<td>
<div class="button-container">
<button class="cart-qty-plus" type="button" value="+">+</button>
<input type="text" name="qty" min="0" class="qty form-control" value="0"/>
<button class="cart-qty-minus" type="button" value="-">-</button>
</div>
</td>
<td>
<input type="text" value="250" class="price form-control" disabled>
</td>
<td align="right">₹ <span id="amount" class="amount">0</span></td>
</tr>
<tr>
<td>
<div class="product-img">
<div class="img-prdct"><img src="https://kiranadude.com/wp-content/uploads/2022/03/Lemon.jpg"></div>
</div>
</td>
<td>
<p>Lemon</p>
</td>
<td>
<div class="button-container">
<button class="cart-qty-plus" type="button" value="+">+</button>
<input type="text" name="qty" min="0" class="qty form-control" value="0"/>
<button class="cart-qty-minus" type="button" value="-">-</button>
</div>
</td>
<td>
<input type="text" value="300" class="price form-control" disabled>
</td>
<td align="right">₹ <span id="amount" class="amount">0</span></td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="4"></td><td align="right"><strong>TOTAL = ₹ <span id="total" class="total">0</span></strong></td>
</tr>
</tfoot>
</table>
<a href="payment.html"><button type="button" class="btn btn-success" style="float: right;">Proceed to checkout</button></a>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="cart.js"></script>
</body>
</html>