-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
149 lines (145 loc) · 5.99 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
<!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>Shopping Cart</title>
<!-- Bootstrap 5 CSS File-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!--Font Awesome CSS File-->
<link rel="stylesheet" href="css/all.min.css">
<!--Project CSS File-->
<link rel="stylesheet" href="css/main.css">
</head>
<body onload="getCartItems()">
<!--start header-->
<div class="header">
<nav class="navbar fixed-top navbar-expand-lg navbar-light" style="background-color: #fff0e0;">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img src="imgs/Amazon_logo.svg.png" alt="" width="80" height="22">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<li class="nav-item">
<button type="button" class="nav-link btn position-relative">
<i class="fa-solid fa-cart-shopping"></i>
Shopping Cart
<span id="cartNumber"
class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
0
</span>
</button>
</li>
</ul>
</div>
</div>
</nav>
</div>
<div class="sub-links">
<ul class="nav nav-pills nav-fill">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Todays Deals</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Fashon</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Perfumes</a>
</li>
</ul>
</div>
<!--end header-->
<!--start cart data-->
<div class="cards">
<h4>Shopping Cart <span class="badge bg-secondary">New</span></h4>
<div id="loopCards" class="row row-cols-1 row-cols-md-3 g-4">
<div id="alert2"></div>
<!--Dynamic Data From APIs-->
</div>
<table class="table table-dark">
<tbody>
<tr>
<td colspan="2" class="table-active">Total Price</td>
<td id="total"></td>
<td>
<button id="cartBTN" type="button" onclick="redirect(this)" class="btn btn-success float-right ">Order Now
<i class="fa fa-credit-card"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<!--end cart data-->
<!--Start Footer Section-->
<div class="footer">
<div class="container">
<div class="box">
<h3>Amazon</h3>
<ul class="social">
<li>
<a href="#" class="facebook">
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li>
<a href="#" class="twitter">
<i class="fab fa-twitter"></i>
</a>
</li>
<li>
<a href="#" class="youtube">
<i class="fab fa-youtube"></i>
</a>
</li>
</ul>
<p class="text">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt amet, cumque dolorem, magnam
perferendis nemo fuga illum quibusdam nostrum corporis possimus quas minima voluptatem quisquam
ullam quae id dolorum hic.
</p>
</div>
<div class="box">
<ul class="links">
<li><a href="#">Important Link 1</a></li>
<li><a href="#">Important Link 2</a></li>
<li><a href="#">Important Link 3</a></li>
<li><a href="#">Important Link 4</a></li>
<li><a href="#">Important Link 5</a></li>
</ul>
</div>
<div class="box">
<div class="line">
<i class="fas fa-map-marker-alt fa-fw"></i>
<div class="info">Suez, Egypt</div>
</div>
<div class="line">
<i class="far fa-clock fa-fw"></i>
<div class="info">Business Hours: From 10:00 To 12:00 PM</div>
</div>
<div class="line">
<i class="fas fa-phone-volume fa-fw"></i>
<div class="info">
<span>+201067879542</span>
<span>+2010XXXXXXX</span>
</div>
</div>
</div>
</div>
<div class="me">
<p class="copy">Copyright © 2022 All Rights Reserved</p>
Coded by <a href="https://www.facebook.com/AhmedddAshraf/">Ahmed Ashraf Muhammed</a>
</div>
</div>
<!--End Footer Section-->
<script src="js/bootstrap.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>