forked from mohitbirla20/team_1mg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart-page.html
115 lines (104 loc) · 3.05 KB
/
cart-page.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
<!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>Cart | 1mg</title>
</head>
<link rel="stylesheet" href="cart-page.css">
<style>
#midnav>div>a{
text-decoration: none;
color: black;
}
#midnav>div>a:hover{
color:#FF6F61;
}
#size{
width: 40px;
height: 40px;
margin-top: 7px;
}
#rightnav>div>a{
text-decoration: none;
color: black;
}
#rightnav>div>a:hover{
color: #FF6F61;
}
</style>
<body>
<div id="navbar">
<div id="leftnav">
<div><img src="https://www.1mg.com/images/tata_1mg_logo.svg" alt=""></div>
</div>
<div id="midnav">
<div><a href="index.html">MEDICINES</a></div>
<div><a href="labtest.html">Lab Tests</a></div>
<div><a href="consultdoctor.html">Consult Doctors</a></div>
<div><a href="covid19.html">COVID-19</a></div>
<div><a href="ayurveda.html">AYURVEDA</a></div>
<div><a href="careplain.html">CARE PLAN</a>
</div>
</div>
<div id="rightnav">
<div id="login"><a href="login.html">Login</a></div>
<div id="signup"><a href="signUp.html">Sign Up</a></div>
<div id="size"><a href="cart-page.html"><img src="https://www.1mg.com/images/header/cart-icon-rebrand.svg" alt=""></a></div>
<div>Need Help?</div>
</div>
</div>
<hr>
<h1>Cart</h1>
<p>Order Summary</p>
<p>Your Items</p>
<div id="container">
<table>
<thead>
<tr>
<th>Product</th>
<th>Product Name</th>
<th>Price</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<!-- Cart product here -->
</tbody>
</table>
<div id="paySummary">
<div>
<input type="text" id="promo" placeholder="Enter discount promocode">
<button id="disc" onClick="checkDiscount()">Apply Promocode</button>
</div>
<!-- payment summary here -->
<h1>Payment Summary</h1>
<div>
<span>No. of Items:</span>
<span id="quantity"></span>
</div>
<div>
<span>Order Subtotal:</span>
<span id="subtotal"></span>
</div>
<div>
<span>Discount:</span>
<span id="discount"></span>
</div>
<div>
<span>Shipping:</span>
<span>Free Shipping</span>
</div>
<hr>
<div>
<span>Order Total:</span>
<span id="total"></span>
</div>
<button id="checkout">Checkout</button>
</div>
</div>
</body>
</html>
<script src="cart-page.js"></script>
<script src="navbar.js"></script>