Winter wonders
Cold weather-approved favorites for ultimate hydration and protection.
{
const children = Array.from($el.children)
const children_products = children.filter((child) => child.classList.contains("filter__product"))
let order = 0
for (let i = 0; i < children_products.length; i++) {
if (children_products[i].dataset.show == "false") {
children_products[i].style.display = "none"
} else {
children_products[i].style.display = ""
children_products[i].style.order = order
order++
}
}
const children_promos = children.filter((child) => child.classList.contains("filter__promo"))
for (let i = 0; i < children_promos.length; i++) {
const index = children.indexOf(children_promos[i])
if (index > -1) {
const next_children_products = children.filter((child) => child.classList.contains("filter__product") && child.dataset.show != "false" && parseInt(child.style.order) > parseInt(children_promos[i].style.order))
if (next_children_products.length > 0) {
children_promos[i].style.display = ""
} else {
children_promos[i].style.display = ""
}
} else {
console.error("Element not found!")
}
}
}, 5)
'
>
Alpine Rich Cream
Luxuriously rich, velvety perfection in a jar.
Luxuriously rich, velvety perfection in a jar.
Luxuriously rich, velvety perfection in a jar.
Rated 4.5 out of 5 stars
4.5 Stars (511 Reviews)
1.69 FL OZ
Mountain Glow Golden Serum
A one-of-a-kind, deeply rejuvenating face serum for your best skin ever.
A one-of-a-kind, deeply rejuvenating face serum for your best skin ever.
Rated 4.7 out of 5 stars
4.7 Stars (1,490 Reviews)
1 FL OZ
Forest Alchemy Eye Cream
A supremely nourishing, all-in-one eye cream with powerful active ingredients.
A supremely nourishing, all-in-one eye cream with powerful active ingredients.
Rated 4.2 out of 5 stars
4.2 Stars (1,698 Reviews)
0.5 FL OZ
Making Moves Milky Cleanser
An easy-rinsing, enzyme-powered facial milk for clean, hydrated skin.
An easy-rinsing, enzyme-powered facial milk for clean, hydrated skin.
Rated 4.5 out of 5 stars
4.5 Stars (372 Reviews)
3.7 FL OZ
Perfect Zen Body Lotion
A blissful, hydrating body lotion with an uplifting scent.
A blissful, hydrating body lotion with an uplifting scent.
Rated 4.5 out of 5 stars
4.5 Stars (155 Reviews)
8 FL OZ