-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaddtocart.html
51 lines (49 loc) · 1.33 KB
/
addtocart.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="addtocart.css" />
<script
src="https://kit.fontawesome.com/92d70a2fd8.js"
crossorigin="anonymous"
></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- <style>
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
form {
width: 100%;
}
</style> -->
</head>
<body>
<div class="header">
<p class="logo">Chef2Door</p>
<div class="cart">
<i class="fa-solid fa-cart-shopping"></i>
<p id="count">0</p>
</div>
</div>
<div class="container">
<div id="root"></div>
<script src="addtocart.js"></script>
<div class="sidebar">
<form method="post" action="paymentconfirm.php">
<div class="head"><p>My Cart</p></div>
<div id="cartItem">Your cart is empty</div>
<div class="foot">
<h3>Total</h3>
<h2 id="total">0.00</h2>
</div>
<input type="hidden" name="totalAmount" id="totalAmount" />
<button type="submit">Checkout</button>
<br> <br> <br> <br>
<p> Please read our cancellation policy before confirming your order <a href="faq.html"> here </a></p>
</form>
</div>
</div>
</body>
</html>