-
Notifications
You must be signed in to change notification settings - Fork 0
/
shopAll.html
214 lines (170 loc) · 9.05 KB
/
shopAll.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
<!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>#ALL PRODUCTS – Bella Vita Organic</title>
<link rel="icon" type="image/png" href="//cdn.shopify.com/s/files/1/0054/6665/2718/files/logo_02_32x32_e6868b28-0d13-4b5b-8bb9-ee8f8ff90a89_32x32.png?v=1651655557"/>
<link rel="stylesheet" href="./styles/cartbar.css">
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/sidebar.css">
<link rel="stylesheet" href="./styles/styles.css">
<link rel="stylesheet" href="./styles/footer.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<!-- Side Bar Cart -->
<div id="cartbar" style="display: none;">
<div>
<p id="cartclose">Your Cart <img src="https://cdn.discordapp.com/attachments/707486765136740384/1012151660996460734/unknown.png" alt="" ></p>
<a href="shopAll.html">Continue Shopping</a>
</div>
<div id="cartp">
</div>
<div id="checkout">
</div>
</div>
<!-- Side Bar Cart End-->
<!-- Header and Navbar Start -->
<div id="header">
<div id="top_bar"></div>
<div id="navbar">
<div id="nav1">
<img src="https://cdn.shopify.com/s/files/1/0054/6665/2718/files/BVO_220_x_220_480x.png?v=1653304683" alt="">
<img src="https://cdn.shopify.com/s/files/1/0054/6665/2718/files/Brave_220_x_220_480x.png?v=1653304701" alt="">
<img src="https://cdn.shopify.com/s/files/1/0054/6665/2718/files/BVL_220_x_220_480x.png?v=1653304721" alt="">
</div>
<div id="nav2">
<a href="shopAll.html">SHOP ALL</a> |
<a href="newArrivals.html">NEW ARRIVALS</a> |
<a href="bestSellers.html">BESTSELLERS</a> |
<a href="skinCare.html">SKIN CARE</a> |
<a href="hairCare.html">HAIR CARE</a> |
<a href="bodyCare.html">BODY CARE</a> |
<a href="perfumes.html">PERFUMES</a> |
<a href="combos.html">COMBOS</a> |
<a href="buildAbox.html">BUILD A BOX</a>
</div>
<div id="nav3">
<img src="https://cdn.discordapp.com/attachments/707486765136740384/1012088877302939748/unknown.png" alt="">
<a href="login.html"><img src="https://cdn.discordapp.com/attachments/707486765136740384/1012089121168171028/unknown.png" alt=""></a>
<a href="#"><img src="https://cdn.discordapp.com/attachments/707486765136740384/1012089258745544784/unknown.png" alt="" onclick="cart()" id="cartpage"></a>
<span id="cart"></span>
</div>
</div>
</div>
<!-- Header and Navbar Start End -->
<!-- Filter JS start -->
<div id="filterdiv">
<label for="" id="totalProducts"></label>
<label for="" id="textsortby">Sort by: </label>
<select name="" id="filtering">
<option value="all">Featured</option>
<option value="A-Z">Alphabetically,A to Z</option>
<option value="Z-A">Alphabetically,Z to A</option>
<option value="Low-High">Price, Low to High</option>
<option value="High-Low">Price, High to Low</option>
</select>
</div>
<!-- Filter JS End -->
<!-- Body -->
<div id="container">
<div id="side_nav">
<div id="side_bar">
<div><img src="https://cdn.discordapp.com/attachments/707486765136740384/1012124707614634074/unknown.png" alt="">REFINE BY</div>
<div id="navbar_line">CATEGORIES</div>
<a href="shopAll.html">Shop All</a> <br>
<a href="newArrivals.html">New Arrivals</a> <br>
<a href="bestSellers.html">Bestsellers</a> <br>
<div class="dropdown">
<div class="flex"><a class="dropdown-btn" href="./skinCare.html">Skin Care</a> <i class="fas fa-chevron-down"></i></div>
<div class="dropdown-container">
<a class="link" href="#">FACE CREAM</a><br>
<a class="link" href="">FACE PACK/MASK</a> <br>
<a class="link" href="">FACE SERUM</a> <br>
<a class="link" href="">FACE SCRUB</a> <br>
<a class="link" href="">FACE TONER</a> <br>
<a class="link" href="">FACE GEL</a> <br>
<a class="link" href="">FACE MOISTURISERS</a>
</div>
</div>
<div class="dropdown">
<div class="flex"><a class="dropdown-btn" href="./hairCare.html">Hair Care</a> <i class="fas fa-chevron-down"></i></div>
<div class="dropdown-container">
<a class="link" href="#">ALL HAIRCARE PRODUCTS</a><br>
<a class="link" href="">SHAMPOO</a> <br>
<a class="link" href="">CONDITIONER</a> <br>
<a class="link" href="">HAIR OIL</a> <br>
<a class="link" href="">HAIR MASK</a> <br>
</div>
</div>
<div class="dropdown">
<div class="flex"><a class="dropdown-btn" href="./bodyCare.html">Body Care</a> <i class="fas fa-chevron-down"></i></div>
<div class="dropdown-container">
<a class="link" href="#">ALL BODY CARE PRODUCTS</a><br>
<a class="link" href="">BODY SOAPS</a> <br>
<a class="link" href="">BODY WASH</a> <br>
<a class="link" href="">BODY SCRUB</a> <br>
<a class="link" href="">BODY LOTION</a> <br>
<a class="link" href="">BODY MOISTURISERS</a>
</div>
</div>
<div class="dropdown">
<div class="flex"><a class="dropdown-btn" href="./perfumes.html">Perfumes</a> <i class="fas fa-chevron-down"></i></div>
<div class="dropdown-container">
<a id="per" href="#">ALL PERFUMES</a><br>
<a id="her" href="#">PERFUMES FOR HER</a> <br>
<a id="him" href="#">PERFUMES FOR HIM</a> <br>
<a id="uni" href="#">UNISEX PERFUMES</a> <br>
<a id="body" href="#">BODY PARFUM</a> <br>
<a id="lux" href="#">LITTLE LUXURIES</a> <br>
<a id="gift" href="#">GIFT SETS</a>
</div>
</div>
<div class="dropdown">
<div class="flex"><a class="dropdown-btn" href="./combos.html">Combos</a> <i class="fas fa-chevron-down"></i></div>
<div class="dropdown-container">
<a href="#"> GIFT BOXES</a><br>
<a href="">ALL COMBOS</a><br>
<a href="">BESTSELLER COMBOS</a> <br>
<a href="">SKIN COMBOS</a> <br>
<a href="">HAIR COMBOS</a> <br>
<a href="">BODY COMBOS</a> <br>
<a href="">PERFUME COMBOS</a><br>
<a href="">C GLOW RANGE</a> <br>
<a href="">KUMKUMADI RANGE</a><br>
</div>
</div>
<a href="build_a_box.html">Build a Box</a>
</div>
</div>
<div id="main"></div>
</div>
<!-- Body End -->
<div id="footerdiv"></div>
<div id="whatsApp">
<a class="hide" href="https://api.whatsapp.com/send?phone=919319011662&text=Hi,%20I%20need%20some%20Help" target="_blank" id="whatsapp-message">
<img src="//cdn.shopify.com/s/files/1/0054/6665/2718/t/386/assets/whatsapp.svg?v=107532592768653809461659272626" />
<span>Message Us</span>
</a>
</div>
</body>
</html>
<script src="./scripts/shopAll.js"></script>
<script src="./Scripts/forAll.js"></script>
<script type="module">
import {append, filterFunc} from "./components/append.js"
import {footer} from "./components/footer.js"
let footerdiv=document.getElementById("footerdiv");
footerdiv.innerHTML=footer();
let main = document.querySelector("#main");
// <!-- ************************************put here your data in the form of array of objects******* -->
append(shopAllData);
document.getElementById("totalProducts").innerText=shopAllData.length+" products";
let filtering=document.getElementById("filtering");
filtering.addEventListener("change",()=>{
filterFunc(shopAllData);
})
// <!-- *************************************************************** -->
</script>