{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/all?' + 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
-
4 in 1 appliance RevitaLift
Regular price $38.00 -
Bag SmartPocket
Regular price $25.00 -
Clear Face Facial Cleanser
Regular price $79.00 -
CuteFun 2 in 1 Stroller
Regular price $18.00 -
FastDo Bottle Opener
Regular price $13.00 -
Magic Color Pen
Regular price $10.00 -
Sale
Pet Anti-Stress Vest
$34.00 $24.00 -
Sale
Pet Reflective Collar
$16.00 $14.00 -
Portable Biker Bag
Regular price $45.00 -
QIntelligent Padlock
Regular price $31.00 -
Safe Biking Chain Padlock
Regular price $57.00 -
Safe Security Anti Theft Wallet
Regular price $17.00 -
Wine opener
Regular price $15.00