{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/bedroom?' + 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);
})"
>
- Featured
- Best selling
- Alphabetically, A-Z
- Alphabetically, Z-A
- Price, low to high
- Price, high to low
- Date, old to new
- Date, new to old
-
Sale
LED Cartoon Cute Pet Hose Night Light Folding USB Charging
$50.00 $15.00 -
Led Dream Aurora Borealis Ocean Star Light Projector
Regular price $109.00 -
Sale
Hands-free Neck-Fan Band Hands-Free Hanging USB Rechargeable Dual Cooling Fan Mini Air Cooler Summer Portable Foldable Fan
$40.60 $19.30 -
Transparent Landscape Cactus Portable Humidifier
Regular price $29.16 -
Sale
Anti Gravity Levitating Water Drops Humidifier Water Fountain LED Night Light Air Purification Atomization Desk Decorate Lamp
$202.86 $83.75