-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.html
66 lines (66 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cart</title>
<link rel="stylesheet" href="cart.css">
</head>
<body>
<!-- Navbar -->
<header class="navbar">
<div class="container">
<h1 class="logo">
<a href="index.html" class="logo-link">
<img src="assets/logo.png" alt="Golhars Logo" class="logo-img">
</a>
</h1>
<nav>
<ul class="nav-links">
<li><a href="index.html" class="hover">Home</a></li>
<li><a href="paintings.html" class="hover">Paintings</a></li>
<li><a href="crochet.html" class="hover">Crochet</a></li>
<li><a href="customize.html" class="hover">Customize</a></li>
<li><a href="cart.html" class="hover">Cart</a></li>
<li><a href="faq.html" class="hover">FAQ</a></li>
<li><a href="contact.html" class="hover">Contact</a></li>
</ul>
</nav>
</div>
</header>
<div class="cart-container">
<h1>Your Cart</h1>
<div id="empty-cart-message" class="hidden">
<p>No items in the cart</p>
</div>
<div id="cart-content" class="hidden">
<table id="cart-table">
<thead>
<tr>
<th>Item</th>
<th>Quantity</th>
<th>Price</th>
</tr>
</thead>
<tbody id="cart-items">
<!-- Cart items will be dynamically inserted here -->
</tbody>
</table>
<div class="cart-total">
<p>Total: ₹<span id="cart-total">0</span></p>
</div>
<h2>Shipping Details</h2>
<form id="shipping-form">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="address">Address:</label>
<textarea id="address" name="address" required></textarea>
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required>
<button type="button" id="proceed-payment">Proceed to Payment</button>
</form>
</div>
</div>
<script src="cart.js"></script>
</body>
</html>