New
Our latest innovations—your future favorites.
{
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)
'
>
Fresh Start Bundle
MADE TO:
Revive & replenish skin for a fresh start.
Revive & replenish skin for a fresh start.
CONTAINS:
Face polish + moisturizer
Face polish + moisturizer
Rated 4.5 out of 5 stars
4.5 Stars (4,960 Reviews)
2 items
Green Slate Mineral Polish
An exfoliating face polish for smooth, radiant-looking skin.
An exfoliating face polish for smooth, radiant-looking skin.
Rated 4.8 out of 5 stars
4.8 Stars (109 Reviews)
3.88 FL OZ