{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/home-goods?' + 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
-
Kitchen Storage Faucet Rack
Regular price $17.00 -
Sale
24Pcs Stainless Steel Cutlery Set
$46.00 $29.00 -
Self Stirring Coffee Mug
Regular price $15.00 -
Multifunction Slicer
Regular price $25.00 -
4 In 1 Handheld Multi-function Cutter
Regular price $23.00 -
Non-Stick Wave Bottom Saucepan
Regular price $25.00 -
2 In 1 Dumpling Maker
Regular price $18.00 -
Sale
Veggie Chopper
$45.00 $28.00