Cold weather skin
{
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 = "none"
}
} else {
console.error("Element not found!")
}
}
}, 5)
'
>
Alpine Rich Cream
Forest Alchemy Eye Cream
Making Moves Milky Cleanser
Mountain Glow Golden Serum
Going Places Lip Balm
Dry Skin Dream Team
Forest Bliss Bundle
Favorite Finds Bundle
Lip Balm Three-Pack
Hydration Heroes Bundle
The Essential Serum Set

Luxuriously rich, velvety perfection in a jar.
Rated 4.6 out of 5 stars
4.6 Stars (126 Reviews)

A supremely nourishing, all-in-one eye cream with powerful active ingredients.
Rated 4.2 out of 5 stars
4.2 Stars (1,307 Reviews)

An easy-rinsing, enzyme-powered facial milk for clean, hydrated skin.
Rated 4.4 out of 5 stars
4.4 Stars (306 Reviews)

A one-of-a-kind, deeply rejuvenating face serum for your best skin ever.
Rated 4.7 out of 5 stars
4.7 Stars (968 Reviews)

A clean lip balm for soft, hydrated lips, everywhere you go.
Rated 4.3 out of 5 stars
4.3 Stars (217 Reviews)

MADE TO:
Hydrate skin at every level.
CONTAINS:
Cleanser + moisturizer
Rated 4.5 out of 5 stars
4.5 Stars (443 Reviews)
2 items

MADE TO:
Hydrate deeply & rewind fine lines.
CONTAINS:
Eye cream + moisturizer
Rated 4.3 out of 5 stars
4.3 Stars (1,434 Reviews)
2 items

MADE TO:
Help you save on favorites.
CONTAINS:
Face wipes + deodorant + lip balm
Rated 4.6 out of 5 stars
4.6 Stars (1,044 Reviews)
3 items

MADE TO:
Keep lips soft & hydrated wherever you go.
CONTAINS:
Three Going Places Lip Balms
Rated 4.3 out of 5 stars
4.3 Stars (231 Reviews)
3 items

MADE TO:
Hydrate and boost all-around radiance.
CONTAINS:
Serum + moisturizer
Rated 4.5 out of 5 stars
4.5 Stars (4,570 Reviews)
2 items

MADE TO:
Lighten, brighten, and boost glow.
CONTAINS:
Two serums
Rated 4.6 out of 5 stars
4.6 Stars (2,087 Reviews)
2 items