-
Notifications
You must be signed in to change notification settings - Fork 2
/
sproduct-2.html
280 lines (253 loc) · 9.31 KB
/
sproduct-2.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
<!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="style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
<link rel="icon" href="img/logoTitle.png">
<script src="script.js" defer></script>
<script src="cart.js" async></script>
<script src="sproduct-2.js"></script>
<script src="shop.js" async></script>
<title> Cara | Product Details</title>
</head>
<body>
<!-- NAVBAR -->
<section id="header">
<a href="#"><img src="img/logo.png" alt="" /></a>
<div>
<ul id="navbar">
<li><a href="index.html">Home</a></li>
<li><a class="active" href="shop.html">Shop</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="#">Login</a></li>
<li id="lg-bag">
<a href="cart.html"><i class="fa-solid fa-shopping-bag"></i></a>
</li>
<a href="#" id="close"><i class="fa fa-times"></i></a>
</ul>
</div>
<div id="mobile">
<a href="cart.html"><i class="fa-solid fa-shopping-bag"></i></a>
<i id="bar" class="fas fa-outdent"></i>
</div>
</section>
<!-- Product details -->
<section id="prodetails" class="section-p1">
<div class="single-pro-image">
<img src="" width="100%" id="MainImg" alt="" />
<div class="small-img-group">
<div class="small-img-col">
<img src="" width="100%" class="small-img" alt="" />
</div>
<div class="small-img-col">
<img src="" width="100%" class="small-img" alt="" />
</div>
<div class="small-img-col">
<img src="" width="100%" class="small-img" alt="" />
</div>
<div class="small-img-col">
<img src="" width="100%" class="small-img" alt="" />
</div>
</div>
</div>
<div class="single-pro-details">
<h6>Home / T-Shirt</h6>
<h5>MANGO</h5>
<h4></h4>
<h2></h2>
<select name="" id="" >
<option value="">Select Size</option>
<option value="">XXL</option>
<option value="">XL</option>
<option value="">Large</option>
<option value="">Small</option>
</select>
<input type="number" name="" id="" value="1" min="1" />
<button class="normal" id="add-to-cart" >Add To Cart</button>
<h4 style="padding: 20px 0 15px 0;">Product Details</h4>
<span>The Gildon Ultra Cotton T-shirt is made from a substantial 6.0 oz.
per sq. yd. fabric constructed from 100% cotton, this classic fit
preshrunk jersey knit provides unmatched comfort with each wear.
Featuring a taped neck and shoulder, and a seamless double - needle
collar, and available in a range of colors, it offers it all in the
ultimate head turning package.
</span>
</div>
</section>
<!-- Featured products -->
<section id="product1" class="section-p1">
<h2>Featured Products</h2>
<p>Summer Collection New Modern Design</p>
<div class="pro-container">
<div class="pro">
<img src="img/urbanic_img/tshirt/floral/floral_dress_1.jpg" alt="" />
<div class="des">
<span>Urbanic</span>
<h5>Floral Black Dress</h5>
<div class="star">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<h4>₹ 799</h4>
</div>
<i class="fa fa-shopping-cart cart"></i>
</div>
<div class="pro">
<img src="img/urbanic_img/tshirt/floral/floral_dress_2.jpg" alt="" />
<div class="des">
<span>Urbanic</span>
<h5>Floral Pink Dress</h5>
<div class="star">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<h4>₹ 829</h4>
</div>
<i class="fa fa-shopping-cart cart"></i>
</div>
<div class="pro">
<img src="img/urbanic_img/tshirt/floral/floral_dress_3.jpg" alt="" />
<div class="des">
<span>Urbanic</span>
<h5>Floral Blue Dress</h5>
<div class="star">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<h4>₹ 1299</h4>
</div>
<i class="fa fa-shopping-cart cart"></i>
</div>
<div class="pro">
<img src="img/urbanic_img/tshirt/floral/floral_dress_4.jpg" alt="" />
<div class="des">
<span>Urbanic</span>
<h5>Floral Green Dress</h5>
<div class="star">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<h4>₹ 689</h4>
</div>
<i class="fa fa-shopping-cart cart"></i>
</div>
</div>
</section>
<!-- Newsletter -->
<section id="newsletter" class="section-p1 section-m1">
<div class="newstext">
<h4>Sign up For Newsletter</h4>
<p>
Get E-mail updates about out latest shop and
<span>special offer.</span>
</p>
</div>
<div class="form">
<input type="text" placeholder="Your email address" />
<button class="normal">Sign up</button>
</div>
</section>
<!-- Footer -->
<footer class="section-p1">
<div class="col">
<img class="logo" src="img/logo.png" alt="logo" />
<h4>Contact</h4>
<p><b>Address:</b> Andheri (E), Mumbai, Maharashtra</p>
<p><b>Phone:</b> +01 2222 365 / (+91) 01 2345 6789</p>
<p><b>Hours:</b> 10:00 - 18:00, Mon - Sat</p>
<div class="follow">
<h4>Follow us</h4>
<div class="icon">
<i class="fab fa-linkedin" style="font-size:18px"
onclick="window.location.href='www.linkedin.com/in/mihir2403';"></i>
<i class="fab fa-facebook-f"></i>
<i class="fab fa-twitter"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-pinterest-p"></i>
<i class="fab fa-youtube"></i>
</div>
</div>
</div>
<div class="col">
<h4>About</h4>
<a href="about.html">About us</a>
<a href="#">Delivery Information</a>
<a href="#">Privacy Policy</a>
<a href="#">Terms & Conditions</a>
<a href="contact.html">Contact us</a>
</div>
<div class="col">
<h4>My Account</h4>
<a href="#">Sign In</a>
<a href="cart.html">View Cart</a>
<a href="#">My Wishlist</a>
<a href="#">Track My Order</a>
<a href="about.html">Help</a>
</div>
<div class="col install">
<h4>Install App</h4>
<p>From App Store or Google Play</p>
<div class="row">
<img src="img/pay/app.jpg" alt="" />
<img src="img/pay/play.jpg" alt="" />
</div>
<p>Secured Payment Gateway</p>
<img src="img/pay/pay.png" alt="" />
</div>
<div class="copyright">
<p>© 2021-2022 Cara.com - E-Commerce Project Made by <span style="cursor: pointer;"
onclick="window.location.href='www.linkedin.com/in/mihir2403';"><b>Mihir Shinde<b> </span> <i
style="color:#0071ac;font-size:18px;position: relative;top:1px;cursor: pointer;" class="fab fa-linkedin"
onclick="window.location.href='www.linkedin.com/in/mihir2403';"></i>
</p>
</div>
</footer>
<!-- Custom script -->
<script>
var MainImg = document.getElementById("MainImg");
var smallImg = document.getElementsByClassName("small-img");
var detailsSection = document.getElementsByClassName("single-pro-details")[0];
smallImg[0].onclick = function ()
{
MainImg.src = smallImg[0].src;
detailsSection.getElementsByTagName('h4')[0].innerHTML = localStorage.getItem("p_srcSmallTitle0");
detailsSection.getElementsByTagName('h2')[0].innerHTML = localStorage.getItem("p_srcSmallPrice0");
};
smallImg[1].onclick = function ()
{
MainImg.src = smallImg[1].src;
detailsSection.getElementsByTagName('h4')[0].innerHTML = localStorage.getItem("p_srcSmallTitle1");
detailsSection.getElementsByTagName('h2')[0].innerHTML = localStorage.getItem("p_srcSmallPrice1");
};
smallImg[2].onclick = function ()
{
MainImg.src = smallImg[2].src;
detailsSection.getElementsByTagName('h4')[0].innerHTML = localStorage.getItem("p_srcSmallTitle2");
detailsSection.getElementsByTagName('h2')[0].innerHTML = localStorage.getItem("p_srcSmallPrice2");
};
smallImg[3].onclick = function ()
{
MainImg.src = smallImg[3].src;
detailsSection.getElementsByTagName('h4')[0].innerHTML = localStorage.getItem("p_srcSmallTitle3");
detailsSection.getElementsByTagName('h2')[0].innerHTML = localStorage.getItem("p_srcSmallPrice3");
};
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</body>
</html>