-
Notifications
You must be signed in to change notification settings - Fork 0
/
Make-payment.html
474 lines (410 loc) · 16.6 KB
/
Make-payment.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!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">
<!--Font Family-->
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&family=Nunito+Sans:wght@200;300;400;500;600;700;800;900;1000&display=swap" rel="stylesheet">
<!--Boostrap CDN-->
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<!--My Stylesheet-->
<!-- <link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="tablet.css"> -->
<link rel="stylesheet" href="styles.css">
<title>Clothccesories</title>
<!--Font-Awesome Icon-->
<script src="https://kit.fontawesome.com/4b0def988b.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="body-wrapper">
<header class="background: white;
padding-bottom: 10px;">
<div class="top-header border-bottom">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-7 col-sm-6 text-md-start">
<a class="navbar-brand phone "
href="#"><i class="fas fa-phone p-2 icon"></i>+23481234568999</a>
</div>
<div class="col-lg-6 col-md-5 col-sm-6">
<ul class="navbar-nav d-flex flex-row social justify-content-md-end">
<li> <a href=""> <i class="fa-brands fa-facebook-f icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-instagram icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-twitter icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-whatsapp icon p-2"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="logo-cart-header ">
<div class="container">
<div class="row ">
<div class="col">
<div class="site-logo">
<a class="navbar-brand " href="#">
<img src="./Assets/clothccessories_logo.png" alt="" style="width: 150px; top: -10px;">
</a>
</div>
</div>
<div class="col d-none d-lg-block mt-5">
<div class="logo-cart-form w-100">
<form class="input-group my-auto d-none d-sm-flex justify-content-start">
<input
autocomplete="off"
type="search"
class="form-control border border-white rounded-pill "
placeholder="Search for Products here"
style=""
/>
<span class="border-0 d-none d-lg-flex"
><i class="fas fa-search"></i
></span>
</form>
</div>
</div>
<div class="col mt-5">
<ul class="navbar-nav d-flex flex-row justify-content-end">
<li class="nav-item ">
<a class="nav-link" href="#"><i class="fas fa-user mx-4 icon "></i></a>
</li>
<li class="shopping">
<a class="nav-link" href="#" id="cart-link">
<i class="fas fa-cart-shopping mx-4 icon"></i>
<span class="quantity" id="cartIcon">0</span> </a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="mobile-menu d-block d-lg-none mb-20">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="d-flex flex-row border border-success
p-2 border-opacity-25 justify-content-between">
<div class="menu-text">Menu
</div>
<div> <button class="" id="toggle-btn">☰</button>
</div>
</div>
<span class="">
<form class="input-group">
<input
autocomplete="off"
type="search"
class="form-control border border-success p-2 border-opacity-25"
placeholder="Search for Products here"
style="min-width: 125px;"
/>
<span class="border-0 d-none d-lg-flex"><i class="fas fa-search search-bar"></i
></span>
</form>
</span>
</div>
</div>
</div>
</div>
<div class="category-header mt-5">
<div class="container">
<div class="row">
<div class="col-lg-3">
<div class="dropdown drop-down-title">
<button class="btn dropdown-toggle btn-lg w-100
section-bg-1 secondary-bg text-color-white text-start"
type="button" id="dropdownMenuButton" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
categories
</button>
<div class="dropdown-menu w-100" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item border-bottom" href="#">HandBags</a>
<a class="dropdown-item border-bottom" href="#">Shoes</a>
<a class="dropdown-item border-bottom" href="#">Party Purse</a>
<a class="dropdown-item border-bottom" href="#">Jewelry</a>
<a class="dropdown-item border-bottom" href="#"> Luxury Accessories</a>
</div>
</div>
</div>
<div class="col-lg-7 d-none d-lg-block pt-2 long-menu">
<ul class="d-flex flex-row ">
<li class="p-2"> <a href=""> Home</a> </li>
<li class="p-2"><a href=""> Shop</a> </li>
<li class="p-2"><a href=""> Product Categories</a> </li>
<li class="p-2"><a href=""> Contact</a> </li>
<li class="p-2"><a href=""> About</a> </li>
</ul>
</div>
<div class="col-lg-2 d-none d-lg-block pt-2 long-phone ">
<a href="#"><i class="fas fa-phone p-2 icon"></i>+23481234568999</a></div>
</div>
</div>
</div>
</header>
<!--Cart sidebar-->
<div id="cart-sidebar">
<h2>Cart Items</h2>
<ul id="cartItems"></ul>
</div>
<!--Menu overlay and sidebar-->
<div id="overlay"></div>
<div id="sidebar">
<div class="sidebar-menu-inner sidebar_scrollbar">
<div class="sidebar-menu-head">
<div class="site-logo">
<a href="index.html"><img src="./Assets/clothccessories_logo.png"
style="max-height: 150px;" alt="Logo"></a>
</div>
</div>
<button id="close-btn">×</button>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="shop.html">Shop</a></li>
<li><a href="#">Product-Category</a></li>
<li><a href="track-order.html">Track-Order</a></li>
<li><a href="Make-payment.html">Payment</a></li>
<li><a href="contact-us.html"> Contact</a></li>
</ul>
</nav>
<div class="social-media-2 mt-4">
<ul class="navbar-nav d-flex flex-row social justify-content-md-end">
<li> <a href=""> <i class="fa-brands fa-facebook-f icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-instagram icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-twitter icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-whatsapp icon p-2"></i></a></li>
</ul>
</div>
</div>
</div>
<main>
<section class="breadcrumbs-area ">
<div class="container">
<div class="row">
<div class="col-lg-12 text-color-white">
<div class="breadcrumb-inner">
<h1 class="text-color-white pt-4">Make Payment</h1>
<div class="d-flex flex-row breadcrumbs-list">
<div class="p-2 home-list"><a href="index.html">
<span><i class="fas fa-house-chimney icon"></i></span> Home
<i class="fas fa-chevron-right p-2"></i>
</a></div>
<div class="p-2">Make Payment</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section-bg-2 pt-4 pb-4 text-center order-tracker">
<div class="container">
<div class="row">
<div class="col-lg-12 mt-5">
<div class="section-title-area text-center mb-5">
<h1 class="section-title">Make Payment</h1>
<p>To track your order please enter your Order ID and Email Address
in the boxes below then press the "Track" button. This was
given to you on your receipt and in the confirmation email you
should have received.</p>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-6 mt-5">
<form action="" class="make-payment-box">
<form action="" class="make-payment-box">
<label for="name" class="payment-label">Fullname:</label>
<input type="text" id="fullname" placeholder="Enter Your Fullname" required />
<label for="email" class="payment-label">Email:</label>
<input type="email" id="email" placeholder="Email Address you used on Checkout" required/>
<div class="d-flex flex-row">
<div class="d-flex flex-column">
<label for="currency" class="payment-label">Currency:</label>
<input type="text" id="currency" required/>
</div>
<div class="d-flex flex-column mx-4">
<label for="amount" class="payment-label">Amount:</label>
<input type="text" id="amount" placeholder="Enter Amount" required />
</div>
</div>
<form action="" class="make-payment-box">
<label for="name" class="payment-label">Fullname:</label>
<input type="text" id="fullname" placeholder="Enter Your Fullname" required/>
<label for="email" class="payment-label">Email:</label>
<input type="email" id="email" placeholder="Email Address you used on Checkout"required />
<div class="d-flex flex-row">
<div class="d-flex flex-column">
<label for="currency" class="payment-label">Currency:</label>
<input type="text" id="currency" required />
</div>
<div class="d-flex flex-column mx-4">
<label for="amount" class="payment-label">Amount:</label>
<input type="text" id="amount" placeholder="Enter Amount" required/>
</div>
</div>
<div class="btn-wrapper text-center">
<button class="btn track-order"><a href="#">MAKE PAYMENT</a></button>
</div>
</form>
</div>
</div>
</div>
</section>
</main>
<!--Footer-->
<footer class="mt-5">
<div class="container-fluid">
<section class="pt-4">
<div class="mx-auto mt-5">
<div class="my-company text-center mb-4">
<!-- Content -->
<h6 class="text-uppercase fw-bold mb-4">
<i class="fas fa-gem me-3"></i>Clothccesories
</h6>
<p class="text-center">
Here you can use rows and columns to organize your footer content. Lorem ipsum
dolor sit amet, consectetur adipisicing elit.
</p>
</div>
<div class="row mx-auto mt-5 quick-links">
<div class="col-md-3 mb-4 ">
<!-- Links -->
<h6 class="text-uppercase fw-bold mb-4">
Quick Links
</h6>
<ul class="my-links ">
<li><a href="">Home</a></li>
<li><a href="">Payment</a></li>
<li><a href="">About Us</a></li>
<li><a href="">Contact Us</a></li>
</ul>
</div>
<div class="col-md-3 mb-4">
<!-- Links -->
<h6 class="text-uppercase fw-bold mb-4">
Product & Shop
</h6>
<ul class="my-links">
<li><a href="">Shop</a></li>
<li><a href="">Cart</a></li>
<li><a href="">My Account</a></li>
<li><a href="">Track Order</a></li>
</ul>
</div>
<div class="col-md-3 mb-4">
<!-- Links -->
<h6 class="text-uppercase fw-bold mb-4">
Quick Links
</h6>
<ul class="my-links text-start">
<li><a href="">Return Policy</a></li>
<li><a href="">Privacy Policy</a></li>
<li><a href="">Terms & Conditions</a></li>
<li><a href="">Disclaimer</a></li>
</ul>
</div>
<div class="col-md-3 mb-4">
<!-- Links -->
<h6 class="text-uppercase fw-bold mb-4">Connect with us</h6>
<ul class="d-flex flex-row">
<li> <a href=""> <i class="fa-brands fa-facebook-f icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-instagram icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-twitter icon p-2"></i></a></li>
<li><a href="#"><i class="fa-brands fa-whatsapp icon p-2"></i></a></li>
</ul>
<h6 class="text-uppercase fw-bold mb-4">Secured Payment With </h6>
<img src="./Assets/paystack-badge-cards.jpg" alt="" style="width: 200px;">
</div>
</div>
</div>
</section>
<!-- Section: Links -->
<!-- Copyright -->
<div class="text-center p-4" style="background-color: rgba(0, 0, 0, 0.05);">
© 2023 Copyright:
<a class="text-reset fw-bold" href="#">Clothccesories.com</a>
</div>
<!-- Copyright -->
<!-- Footer -->
</div>
</footer>
</div>
<script>
document.getElementById("toggle-btn").addEventListener("click", function() {
var sidebar = document.getElementById("sidebar");
var overlay = document.getElementById("overlay");
if (sidebar.style.left === "-250px") {
sidebar.style.left = "0";
overlay.style.display = "block";
} else {
sidebar.style.left = "-250px";
overlay.style.display = "none";
}
});
document.getElementById("close-btn").addEventListener("click", function() {
var sidebar = document.getElementById("sidebar");
var overlay = document.getElementById("overlay");
sidebar.style.left = "-250px";
overlay.style.display = "none";
});
</script>
<script>
// Get the cart icon element
var cartIcon = document.getElementById('cartIcon');
// Get the cart items container
var cartItemsContainer = document.getElementById('cartItems');
// Get the checkout section
var checkoutSection = document.getElementById('checkout');
// // Initialize the cart count and cart items array
var cartCount = 0;
var cartItems =[];
cartIcon.addEventListener('click', showCheckout);
// // Attach a click event listener to each "Add to Cart" button
var addToCartButtons = document.getElementsByClassName('add-to-cart')
for (var i = 0; i < addToCartButtons.length; i++) {
addToCartButtons[i].addEventListener('click', addToCart);
}
// // Function to add the product to the cart and update the cart icon
function addToCart() {
const productContainer = this.parentElement;
const productTitle = productContainer.querySelector('.productTitle');
const productPrice = productContainer.querySelector('productPrice')
// Create a new cart item object
const cartItem = {
title: productTitle,
price: productPrice
};
// Add the cart item to the cart items array
cartItems.push(cartItem);
// Increase the cart count
cartCount++;
// // Update the cart icon with the new count
cartIcon.innerText = cartCount;
}
// Function to show the checkout page with the selected products
function showCheckout() {
// Clear the previous cart items
cartItemsContainer.innerHTML = '';
// Iterate over the cart items and create the list elements
cartItems.forEach(function(item) {
const li = document.createElement('li');
li.innerText = item.title;
li.innerText = item.price;
cartItemsContainer.appendChild(li);
});
// Show the checkout section
checkout.style.display = 'block';
// Return false to prevent default behavior and page refresh
return false;
}
</script>
<script src="script.js"></script>
<!--Boostrap CDN-->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>