-
Notifications
You must be signed in to change notification settings - Fork 2
/
specific_product_page.html
575 lines (561 loc) · 22.2 KB
/
specific_product_page.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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
<!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>Product</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Raleway", sans-serif;
font-family: "Roboto", sans-serif;
}
</style>
</head>
<body onload="onLoadSpecificProductPage()">
<!-- Header -->
<div
style="width: 100%; display: flex; flex-direction: column; padding-bottom: 10px;"
class="header"
id="header"
>
<div style="display: flex; padding: 1rem 2rem" class="top">
<div style="flex: 1; width: 40%; text-align: center" class="icon">
<img
style="max-width: 20px; width: 60%; max-width: none"
src="./assets/svg/vector12.svg"
alt=""
srcset=""
onclick="window.location.href='./index.html'"
/>
</div>
<div style="flex: 2; display: flex; align-items: center" class="search">
<div
style="
width: 80%;
margin: auto;
display: flex;
padding: 0 5px;
justify-content: center;
align-items: center;
background-color: white;
border: 1px solid black;
"
class="search_div"
>
<input
style="
width: 95%;
padding: 0.7rem 0.7rem;
background-color: transparent;
border: none;
"
placeholder=""
type="text"
name="search_input"
id="search_input"
/>
<img
style="max-width: 20px"
src="./assets/images/search.png"
alt=""
srcset=""
/>
</div>
</div>
<div
style="
flex: 1;
display: flex;
justify-content: space-around;
align-items: center;
"
class="rightButtons"
>
<button
style="
background-color: transparent;
border: none;
height: min-content;
padding: 8px;
display: flex;
align-items: center;
gap: 5px;
"
onclick="window.location.href='./signin.html'"
>
<img
style="max-width: 20px"
src="./assets/images/user.png"
alt=""
/>
<span id="user_name">Account</span>
</button>
<button
style="
background-color: transparent;
border: none;
height: min-content;
padding: 8px;
display: flex;
align-items: center;
gap: 5px;
"
onclick="window.location.href='./cart.html'"
>
<img
style="max-width: 20px"
src="./assets/images/shopping-cart.png"
alt=""
/>
<span>Cart</span>
</button>
</div>
</div>
<div
style="
border-top: 2px solid black;
display: flex;
justify-content: left;
padding: 0 6rem;
"
class="bottom"
>
<a
style="
background-color: white;
padding: 10px 15px;
text-decoration: none;
color: black;
transition: all 0.5s;
"
href="#"
class="text_button"
>
Brands
</a>
<a
style="
background-color: white;
padding: 10px 15px;
text-decoration: none;
color: black;
transition: all 0.5s;
"
href="#"
class="text_button"
>
Holiday Gifts
</a>
<a
style="
background-color: white;
padding: 10px 15px;
text-decoration: none;
color: black;
transition: all 0.5s;
"
href="#"
class="text_button"
onclick="redirectToCategories('Bath & Body')"
>
Bath & Body
</a>
<a
style="
background-color: white;
padding: 10px 15px;
text-decoration: none;
color: black;
transition: all 0.5s;
"
href="#"
onclick="redirectToCategories('SkinCare')"
class="text_button"
>
Skin Care
</a>
<a
style="
background-color: white;
padding: 10px 15px;
text-decoration: none;
color: black;
transition: all 0.5s;
"
href="#"
onclick="redirectToCategories('Hair Care')"
class="text_button"
>
Hair
</a>
<a
style="
background-color: white;
padding: 10px 15px;
text-decoration: none;
color: black;
transition: all 0.5s;
"
href="#"
class="text_button"
onclick="redirectToCategories('Makup and Cosmetics')"
>
Makeup
</a>
</div>
</div>
<!-- Icon Band -->
<div
style="
display: flex;
background-color: rgb(242, 242, 242);
justify-content: space-evenly; margin-bottom: 10px;
"
class="icon_band"
id="icon_band"
>
<div style="display: flex; margin: auto">
<img
style="width: 30px; margin: 20px"
src="https://static.thenounproject.com/png/3953749-200.png"
alt=""
/>
<p style="margin-top: 25px; font-weight: 600">
FREE US Shipping Over Rs.49
</p>
</div>
<div style="display: flex; margin: auto">
<img
style="width: 30px; margin: 20px"
src="https://static.thenounproject.com/png/1813415-200.png"
alt=""
/>
<p style="margin-top: 25px; font-weight: 600">
Refer a Friend, Get Rs.15
</p>
</div>
<div style="display: flex; margin: auto">
<img
style="width: 30px; margin: 20px"
src="https://static.thenounproject.com/png/1153369-200.png"
alt=""
/>
<p style="margin-top: 25px; font-weight: 600">
New Customers Save 20% - Use Code NEWBIE
</p>
</div>
<div style="display: flex; margin: auto">
<img
style="width: 30px; margin: 20px"
src="https://static.thenounproject.com/png/3351092-200.png"
alt=""
/>
<p style="margin-top: 25px; font-weight: 600">Download Our App</p>
</div>
</div>
<!-- Text Band -->
<div
style="
background-color: black;
color: white;
text-align: center;
padding: 5px 5px;
margin: 10px 10px;
"
class="text_band"
id="text_band"
>
<h1 style="font-size: 1.3rem; margin: 0">
Up to 50% off + Extra 10% off sale Items with code WINTER | SHOP NOW >
</h1>
</div>
<!-- Breadcrums -->
<div style="padding-left: 30px" class="breadcrums">
<p style="font-size: small; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: gray;"><a href="home.html" style="color: gray; " onmouseover="this.style.color='blue'" onmouseout="this.style.color='gray'">Home</a> / <a href="brand.html" style="color: gray;" onmouseover="this.style.color='blue'" onmouseout="this.style.color='gray'">Product</a> / <a href="ISDIN.html" style="color: gray;" onmouseover="this.style.color='blue'" onmouseout="this.style.color='gray'"></a></p>
</div>
<div style=" width: 70%; margin: auto;" class="with_specific_product_content">
<!-- Left aligned Image with details on the right -->
<div style="display: flex; margin: auto;" class="image_container_for_specific_product">
<div id="specific_product_image" style="flex: 3;">
</div>
<div id="sb_productAdd" style="flex: 1; margin: auto;">
<h3 style=" width: 100% ;justify-content: center;
font-family: Helvetica;
" id="specific_product_name">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eius dolores fugiat inventore sint ut. Nisi.</h3>
<p style="padding: 1rem 0; font-size: 1.5rem;" id="specific_product_price">Rs.100.00</p>
<hr style="width: 100%;">
<div style="display: flex; align-items: baseline;">
<p style="margin-right:30px;
font-size: large;">Quantity</p>
<button style="color: white;
background-color: rgb(204,204,204);
border: 1px solid black;
width: 2rem;
height: 2rem;
font-size:x-large;
font-weight: bold;
margin-top: 12px;">-</button>
<span style="color: black;
background-color: white;
/* border: 1px solid black; */
width: 2rem;
height: 2rem;
font-size:x-large;
font-weight: bold;
margin-top: 12px;
padding-top: 4px ;
text-align: center;">1</span>
<button style="color: black;
background-color: white;
border: 1px solid black;
width: 2rem;
height: 2rem;
font-size:x-large;
font-weight: bold;
margin-top: 12px;">+</button>
</div>
<button style="background-color: rgb(51,51,51);
color: azure;
padding: 10px;
width: 100%;
margin: 10px 0px;
border: none;" onclick="addToCart(localStorage.getItem('specificProductId')|| '2')">ADD TO CART</button>
</div>
</div>
<!-- EMI options -->
<div class="EMI_options" id="EMI_options" style="background-color:rgb(250, 250, 250) ; width: 100%; margin: 2rem;">
<div style="display: flex; gap: 38px;">
<img src="https://tse1.mm.bing.net/th?id=OIP.2yw_Kl1Qftxw_m0u68sBmAHaDL&pid=Api&P=0" alt="Klarna_logo" style="width: 5%; margin-top:8px; margin-bottom: 8px; margin-left: 9px; border-radius: 5px;">
<p style="font-size: small; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">4 installments of Rs.12.00 with Klarna Slice <a style="text-decoration: none; color: black;"href="Learn_More.html" >Learn More ></a></p>
</div>
<div style="display: flex; gap: 24px;">
<img src="https://s.yimg.com/fz/api/res/1.2/iOstPFoMfZxDsHU2TifiVw--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpdDtoPTI0MDtxPTgwO3c9MzMy/https://s.yimg.com/zb/imgv1/ea2ae260-cfc0-342c-a4dc-8a21a4f3e9e2/t_500x300" alt="AfterPay_logo" style="width: 7%; margin-top:5px; margin-bottom: 5px; margin-left: 0px; border-radius: 5px;">
<p style="font-size: small; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif">4 installments of Rs.12.00 with Afterpay <a style="text-decoration: none; color: black;"href="Learn_More.html" >Learn More ></a></p>
</div>
<div style="display: flex; gap: 51px;">
<img src="https://image.winudf.com/v2/image1/Y29tLnF1YWRwYXkucXVhZHBheV9pY29uXzE2Njk3ODgyMzJfMDk1/icon.png?w=340&fakeurl=1" alt="ZIP_logo" style="height: 4%; width: 4%; margin-top:0px; margin-bottom: 8px; margin-left: 12px;">
<p style="font-size: small; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif">4 installments of Rs.12.00 with Zip <a style="text-decoration: none; color: black;"href="Learn_More.html" >Learn More ></a></p>
</div>
</div>
<!-- Product Details Table -->
<div class="specific_product_details">
<div class="product_details_table">
<h1 style="padding: 5px; font-size: 2rem;">Product Details</h1>
<div style="display: grid; grid-template-columns: 1fr 5fr;row-gap: 20px;" class="table">
<p style="font-weight: bold; padding: 15px" class="head">Volume:</p>
<p style=" padding: 15px" class="data">30ml</p>
<p style="font-weight: bold; background-color: rgba(204, 204, 204, 0.217); padding: 15px" class="head">Directions:</p>
<p style="background-color: rgba(204, 204, 204, 0.217); padding: 15px" class="data">Apply morning and night onto clean, dry skin, Using circular motions, gently massage over your face and neck until completely absorbed, Water-gel texture glides luxuriously over the skin and absorbs with a satin smooth finish, To help fight visible signs of skin aging, use every morning in combination with Eryfotona Actinica or Eryfotona Ageless,</p>
<p style="font-weight: bold; padding: 15px" class="head">Ingredients:</p>
<p style=" padding: 15px" class="data">Aqua (Water), Dimethicone, Propanediol, Glycerin, 1,2-Hexanediol, Sodium Acrylates Copolymer, Dimethicone Crosspolymer, Butylene Glycol, Pseudoalteromonas Ferment Extract, Glycereth-26, Lecithin, Maltodextrin, Sodium Benzoate, Pentylene Glycol, Lens Esculenta (Lentil) Seed Extract, Parfum (Fragrance), Disodium EDTA, Hydrolyzed Hyaluronic Acid, Sodium Hyaluronate, Xanthan Gum, Citric Acid, Biosaccharide Gum-1, Carbomer, Polysorbate 20, Sodium Lactate, Sodium Salicylate, Salicylic Acid, Palmitoyl Tripeptide-1, Palmitoyl Tetrapeptide-7,</p>
<p style="font-weight: bold; background-color: rgba(204, 204, 204, 0.217); padding: 15px" class="head">Brand:</p>
<p style="background-color: rgba(204, 204, 204, 0.217); padding: 15px" class="data">ISDIN</p>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer" id="footer">
<hr style="margin-bottom: 20px; margin-top: 50px;">
<div class="footer_content" id="footer_content" style="display: flex; gap:50px; line-height: 10px; padding: 30px;">
<div class="left" style="width: 40%;">
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 700;
text-transform: none;">Sign up to our email list and receive 20% off your next order</p>
<button style="width:20%; height:40px; color :white; background-color:black;margin-bottom: 50px;margin-top: 30px; ">SIGN UP</button>
<hr style="border-top:1px solid black;border-bottom: none;margin-bottom: 20px;">
<p style="font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 700;
text-transform: none;
margin-bottom: 10px;">Help & Information</p>
<div style="display: flex; gap:10px;margin-top: 5px;align-items: center;margin-bottom: 10px;">
<img src="./assets/svg/vector3.svg" alt="">
<p style="line-height: 1.4;">Customer Service</p>
</div>
<div style="display: flex;gap:10px;margin-top: 5px;align-items: center;margin-bottom: 10px;">
<img src="assets/svg/vector4.svg" alt="">
<p>Delivery Information</p>
</div>
<div style="display: flex;gap:10px;margin-top: 5px;align-items: center;margin-bottom: 10px;">
<img src="assets/svg/vector.svg" alt="">
<p>Returns & Refunds</p>
</div>
<div style="display: flex;gap:10px;margin-top: 5px;align-items: center;margin-bottom: 10px;">
<img src="assets/svg/vector2.svg" alt="">
<p>Help Center</p>
</div>
<div style="display: flex;gap:10px;margin-top: 5px;align-items: center;margin-bottom: 10px;">
<img src="assets/svg/vector5.svg" alt="">
<p>Track my order</p>
</div>
<p style="line-height: 1.4; margin-top: 5px;margin-bottom: 10px;">Accessibility</p>
<div style="display: flex;gap:10px;margin-top: 5px;align-items: center;margin-bottom: 10px;">
<img src="assets/svg/vector6.svg" alt="">
<p>Cookie Settings</p>
</div>
</div>
<div class="right" style=" margin-top: 5px;">
<div class="right_top">
<p style="font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 700;
text-transform: none;
margin-top: 13px;
margin-top: -5px;
margin-bottom: 25px;">Connect with us</p>
<div style="display: flex;gap: 20px;">
<img src="https://www.facebook.com/images/fb_icon_325x325.png" alt="" style="width:40px;">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Instagram_logo_2022.svg/1200px-Instagram_logo_2022.svg.png" alt="" style="width: 40px; border-radius: 50%;">
<img src="https://play-lh.googleusercontent.com/wIf3HtczQDjHzHuu7vezhqNs0zXAG85F7VmP7nhsTxO3OHegrVXlqIh_DWBYi86FTIGk" alt="" style="width: 40px; border-radius: 50%;">
<img src="https://play-lh.googleusercontent.com/dVsv8Hc4TOUeLFAahxR8KANg22W9dj2jBsTW1VHv3CV-5NCZjP9D9i2j5IpfVx2NTB8" alt="" style="width: 40px;">
<img src="https://play-lh.googleusercontent.com/KxeSAjPTKliCErbivNiXrd6cTwfbqUJcbSRPe_IBVK_YmwckfMRS1VIHz-5cgT09yMo" alt="" style="width: 40px; border-radius: 50%;">
</div>
</div>
<div class="right_bottom" style="display: flex; margin-top: 61px; gap:90px;padding:0 10px">
<div>
<hr style="border-top:1px solid black;border-bottom: none;margin-bottom: 20px;margin-top: -6px;">
<p style="font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 700;
text-transform: none;
margin-bottom: 10px;"> About SkinStore</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Key Workers Discount</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">About Us</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Affiliate Prograrn</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Brand Directory</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Coupon Codes</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Refer a Friend</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Student Discount</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Join SkinStore Experts</p>
</div>
<div>
<hr style="border-top:1px solid black;border-bottom: none;margin-bottom: 20px;margin-top: -6px;">
<p style="font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 700;
text-transform: none;
margin-bottom: 10px;"> Legal</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;" > Cookie Information</p>
<p style=" font-family:Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;"> Privacy Policy</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;"> Terms & Conditions</p>
<p style=" font-family:Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;"> Modern Slavery Statement</p>
</div>
<div>
<hr style="border-top:1px solid black;border-bottom: none; margin-bottom: 20px;margin-top: -6px;">
<p style="font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 700;
text-transform: none;
margin-bottom: 10px;"> How To Contact Us</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Message Us</p>
<p style=" font-family: Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.4;
color: #2e3337;
font-weight: 300;
text-transform: none;
margin-bottom: 10px;">Free Beauty Consultations</p>
</div>
</div>
</div>
</div>
</div>
<script src="./global.js"></script>
</body>
</html>