-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (99 loc) · 4.94 KB
/
index.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
<!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> SBD - Shop </title>
<!-- Fav Icon -->
<link rel="shortcut icon" href="assets/image/sbd-shop.ico" type="image/x-icon"/>
<!-- Icon -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<!-- Custom Style -->
<link rel="stylesheet" href="assets/style.css"/>
</head>
<body id="body">
<!-- Banner Content -->
<header>
</header>
<!-- Main Content -->
<main class="main">
<div class="container-fluid">
<div class="row">
<div class="col-lg-9 col-sm-7">
<div class="container">
<div class="searchProduct my-5">
<div class="row">
<div class="col-md-8 col-12 mx-auto">
<h2 class="themeLetter"> Search Your Favourite Product </h2>
<div class="input-group mb-3">
<input id="searchProduct" type="text" class="form-control"
placeholder="Type Anything Product Name & Hit Enter"
aria-label="Search Your Favourite Product" aria-describedby="searchBtn">
<button class="btn" type="button" id="searchBtn" onclick="productSearch()">
Search
</button>
</div>
</div>
</div>
</div>
<div id="all-products" class="products row"></div>
</div>
</div>
<div class="col-lg-3 col-sm-5" style="position: relative; z-index: 5">
<div class="container">
<div class="card result-cart">
<div class="card-body py-0">
<div id="my-cart">
<table class="table">
<thead>
<h1 class="title themeLetter">My Cart</h1>
</thead>
<tbody class="pt-3 d-block">
<tr>
<th>Total Added-Products:</th>
<td><span id="total-Products">0</span></td>
</tr>
<tr>
<th>Price:</th>
<td>$ <span id="price">0</span></td>
</tr>
<tr>
<th>Delivery-Charge:</th>
<td>$ <span id="delivery-charge">20</span></td>
</tr>
<tr>
<th>Total-Tax:</th>
<td>$ <span id="total-tax">0</span></td>
</tr>
<tr>
<th scope="row">Total</th>
<td colspan="2">$ <span id="total">0</span></td>
</tr>
</tbody>
</table>
<div class="parces text-right">
<button class="btn btn-warning border-0 text-white btn-block" id="buyBtn" onclick="buyNow()" disabled style="cursor: not-allowed">Buy
Now
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Buy Now Btn Click Show Modal -->
<div id="buy-now-modal"></div>
<!-- Bootstrap JS CDN -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
<!-- Javascript File -->
<script src="assets/app.js" type="text/javascript"></script>
</body>
</html>