forked from Swapnil887/incompetent-coil-1138
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcart.html
More file actions
279 lines (252 loc) · 7.98 KB
/
cart.html
File metadata and controls
279 lines (252 loc) · 7.98 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
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
<!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" />
<link rel="stylesheet" href="./CSS/cart.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<!-- <link rel="icon" type="image/png" sizes="32x32" href="https://i.postimg.cc/FRPBnw3h/1671375586096.png" /> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css" />
<title>Cart</title>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="https://i.postimg.cc/Fsp8J7LR/20221213-201414.jpg"
/>
<!-- here i have written style is for slider -->
<style>
.swiper {
width: 100%;
height: 300px;
}
.swiper-slide {
text-align: center;
/* font-size: 38px; */
background: #fff;
/* border: 1px solid green; */
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.des {
display: flex;
justify-content: space-around;
}
.des .add_btn {
/* border: 2px solid blue; */
background-color: transparent;
border: 0px;
font-size: 15px;
color: #ff6f61;
font-weight: 600;
}
.details img {
float: down;
width: 130px;
height: 155px;
background-size: cover;
}
</style>
<!-- till here for slider -->
</head>
<body>
<div id="payment_header">
<div>
<img id="mg_home" src="./CSS/logo.jpg" />
</div>
<div id="search_box_outer">
<input id="search_box" type="text" placeholder="Search for Medicines and Health Products" />
<button><i class="fa fa-search"></i></button>
</div>
<div id="need_help">Need Help?</div>
</div>
<div id="container">
<div id="left">
<div id="cart_items"></div>
<div id="prdct">
<h2>Last Minute Buys</h2>
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="details">
<img src="images/s1.png" alt="#">
<div class="title">
<p>Gynoveda Jeehv Ayurvedic Tablet (120 Each)</p>
</div>
<div class="des">
<div class="price">₹1485</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="details">
<img src="images/s2.png" alt="#">
<div class="title">
<p>RawRX Vegan Omega-3</p>
</div>
<div class="des">
<div class="price">₹799</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="details">
<img src="images/s3.png" alt="#">
<div class="title">
<p>Gynoveda PCOS myrha Ayurvedic</p>
</div>
<div class="des">
<div class="price">₹1896</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="details">
<img src="images/s6.png" alt="#">
<div class="title">
<p>Gynoveda Iron And Folic Acid</p>
</div>
<div class="des">
<div class="price">₹263</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="details">
<img src="images/s5.png" alt="#">
<div class="title">
<p>Gynoveda Calicum Vit D-3</p>
</div>
<div class="des">
<div class="price">₹630</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="details">
<img src="images/s6.png" alt="#">
<div class="title">
<p>Gynoveda Iron And Folic Acid</p>
</div>
<div class="des">
<div class="price">₹263</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="details">
<img src="images/s2.png" alt="#">
<div class="title">
<p>RawRX Vegan Omega-3</p>
</div>
<div class="des">
<div class="price">₹799</div>
<button class="add_btn">ADD</button>
</div>
</div>
</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
</div>
<div id="right">
<div id="promo">
<div>Apply Promo Code</div>
<div>
<button>
<img src="https://www.1mg.com/images/forward-rebrand.svg" alt="" />
</button>
</div>
</div>
<div id="cart_total">
<p class="p_class">
<span>Item Total(MRP)</span><span id="itm_total"></span>
</p>
<p class="p_class">
<span>Price Discount</span><span id="ttl_dsc1"></span>
</p>
<hr />
<p class="p_class">
<span>Shipping Fee</span><span style="color: #489118">Free Delivery 🎉</span>
</p>
<p class="p_class">
<span>Safety Handling Fee</span><span>Rs. 0/-</span>
</p>
<hr />
<p class="p_class" id="tbp">
<span>To be paid</span><span id="ttl"></span>
</p>
<p class="p_class" id="total_g">
<span>Total Savings</span><span id="ttl_dsc"></span>
</p>
<button id="chkout">CHECKOUT</button>
</div>
<div id="discount_msg">
<div>Take a deep breathe....</div>
</div>
</div>
</div>
<div id="payment_footer">
<div>
<p>
1mg is a technology platform to facilitate transaction of business.
The products and services are offered for sale by the sellers. The
user authorizes the delivery personel to be his agent for delivery of
the goods. For details read <span>terms and conditions.</span>
</p>
</div>
<div>
<p>
*1mgCash will be credited 7 days after your complete order is
delivered in case of Products and in case of Lab Services 1mgCash will
be credited within 24 hours from the time of generation of test
report. 1mgCash will not be credited in case a return request is
initiated for the order.
</p>
<p>
**Coupon Discount value may change if the total order value changes.
</p>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper(".mySwiper", {
slidesPerView: 4,
spaceBetween: 0,
slidesPerGroup: 1,
loop: true,
loopFillGroupWithBlank: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
</script>
</body>
<script src="./JS/cart.js"></script>
</html>