{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/all-1?' + queryString)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
let html_dom = html_div.querySelector('#ProductGridContainer').innerHTML;
document.querySelector('#ProductGridContainer').innerHTML = html_dom;
// update url without refreshing the page
history.replaceState(null, null, '?' + queryString);
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
})"
>
Filter:
-
BERRY BAE
Regular price $9.50 -
SUN WORSHIP
Regular price $9.50 -
SPA DAY
Regular price $10.50 -
BLANGO TANGO
Regular price $10.50 -
AFTERMATH
Regular price $9.50 -
MELONADE
-
SIGNATURE CLEANSE 2-DAY
Regular price $129.00 -
G3 FIRE | 3-PACK
Sale price $10.00$12.50 -
MELON ROSÉ
-
GREEN CLEANSE 3-DAY
Regular price $169.00 -
EARTH NECTAR
Regular price $10.50 -
TOUCAN MÉLANGE
Regular price $9.50 -
SHINE TIME | 3-PACK
Sale price $10.00$12.50 -
MINI BOSS | 2-PACK
Regular price $8.50 -
MINI BOSS | 3-PACK
Regular price $12.50 -
JUNGLE SNOW