forked from dixonsimon/NammaRation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpayment.html
More file actions
99 lines (90 loc) · 3.92 KB
/
Copy pathpayment.html
File metadata and controls
99 lines (90 loc) · 3.92 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="icon" type="image/png" href="images/logo.jpg"/>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/responsive.css">
<title>Namma Ration - Payment</title>
<style>
.btn a {
text-decoration: none;
color: white;
}
</style>
</head>
<body>
<header>
<div class="nav-container">
<div class="logo">
<img src="images/logo-transperant.png" alt="Namma Ration Logo">
<h1>Namma Ration</h1>
</div>
<div class="nav-links">
<a href="home.html"><i class="fas fa-home"></i> Home</a>
<a href="cart.html"><i class="fas fa-shopping-cart"></i> Cart <span id="cart-count" class="cart-count"></span></a>
<a href="location.html"><i class="fas fa-map-marker-alt"></i> Location</a>
<a href="profile.html"><i class="fas fa-user"></i> Profile</a>
</div>
</div>
</header>
<div class="search-container">
<div class="search-bar">
<input type="text" placeholder="Search for products, categories, or offers...">
<div class="search-icon">
<i class="fas fa-search"></i>
</div>
</div>
</div>
<main>
<h1 class="page-title">Payment</h1>
<div class="cart-container">
<div class="cart-items">
<div class="form-container">
<h3>Delivery Address</h3>
<div id="address-details">
<!-- Address will be loaded from localStorage -->
</div>
</div>
<div class="form-container">
<h3>Order Summary</h3>
<div id="order-summary">
<!-- Order items will be loaded from localStorage -->
</div>
</div>
</div>
<div class="cart-summary">
<h3>Select Payment Method</h3>
<div class="payment-methods">
<div class="payment-method" data-method="card">
<input type="radio" name="payment" id="card-payment">
<label for="card-payment"><i class="fas fa-credit-card"></i> Credit/Debit Card</label>
</div>
<div class="payment-method" data-method="upi">
<input type="radio" name="payment" id="upi-payment">
<label for="upi-payment"><i class="fas fa-mobile-alt"></i> UPI</label>
</div>
<div class="payment-method selected" data-method="cod">
<input type="radio" name="payment" id="cod-payment" checked>
<label for="cod-payment"><i class="fas fa-money-bill-wave"></i> Cash on Delivery</label>
</div>
</div>
<div id="payment-details" class="payment-details">
<!-- Payment details will be shown based on selection -->
<div class="cod-message">
<p>Pay with cash when your order is delivered.</p>
</div>
</div>
<button class="btn" id="pay-now" style="width: 100%; margin-top: 20px;"><a href="success.html">PAY NOW</a></button>
</div>
</div>
</main>
<footer>
<p>© 2025 Namma Ration. All rights reserved.</p>
</footer>
<script src="scripts/script.js"></script>
<script src="scripts/payment.js"></script>
</body>
</html>