-
Notifications
You must be signed in to change notification settings - Fork 3
/
cart.html
106 lines (99 loc) · 4.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BachatAbit_ProductPage</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<link rel="stylesheet" href="cart.css">
</head>
<body>
<div class="header">
<div class="container">
<div class="navbar">
<nav>
<ul>
<li><a href="homepage.html">Home</a></li>
<li><a href="cart.html">Shop</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Login</a></li>
</ul>
<button class="cart-btn">
<i class="bi bi-cart"></i>
<span id="cart-qty" class="cart-qty">0</span>
</button>
</nav>
</div>
</div>
</div>
<!--<div class="search-container">
<input type="text" id="searchInput" onkeyup="searchProducts()" placeholder="Search for products..">
<input type="submit" value="Search">
</div>-->
<div class="categories">
<div class="category" onclick="filterByCategory('All')">All</div>
<div class="category" onclick="filterByCategory('Mens')">Mens</div>
<div class="category" onclick="filterByCategory('Footwear')">Footwear</div>
<div class="category" onclick="filterByCategory('Womens')">Womens</div>
<div class="category" onclick="filterByCategory('Accessories')">Accessories</div>
<div class="category" onclick="filterByCategory('Electronics')">Electronics</div>
</div>
<div class="product-container" id="product-container">
</div>
<div id="cart-overlay" class="cart-overlay"></div>
<header>
<div class="container">
<div class="cart">
<span class="close-cart">×</span>
<h2>Shopping Cart</h2>
<ul id="cart-items"></ul>
<div class="cart-footer">
<div>
<strong>Total</strong>
<span class="cart-total" id="cart-total">0</span>
</div>
<button class="cart-clear" onclick="clearCart()">Clear</button>
<button class="checkout">Checkout</button>
</div>
</div>
</div>
</header>
</div>
<footer class="footer">
<div class="footer-container">
<div class="footer-col">
<h3>Download Our App</h3>
<p><i class="fab fa-google-play"></i> BachataBit</p>
</div>
<div class="footer-col">
<h3>About</h3>
<p>Browse products from <br> various sites and <br> find the apt one for you <br> Visit again :)</p>
</div>
<div class="footer-col">
<h3>Useful Links</h3>
<ul>
<li><a href="#">Coupons</a></li>
<li><a href="#">Blogs</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Rate us</a></li>
</ul>
</div>
<div class="footer-col">
<h3>Social Links</h3>
<div class="social-icons">
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="https://github.com/anagha-chaudhari"><i class="fab fa-github"></i></a>
<a href="https://linkedin.com/in/anagha-chaudhari"><i class="fab fa-linkedin"></i></a>
</div>
</div>
</div>
</footer>
<script src="cart.js"></script>
</body>
</html>