{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/all-products?' + 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
-
Fish Fun Magnetic Fishing Toy
Regular price $16.00 -
Nail Stamp
Regular price $12.00 -
Sale
Pet Reflective Collar
$16.00 $14.00 -
Safe Security Anti Theft Wallet
Regular price $17.00 -
Solarius Solar Power Charger
Regular price $57.00 -
Magic Color Pen
Regular price $10.00 -
Baby Montessori Toy
Regular price $26.00 -
Portable Biker Bag
Regular price $45.00 -
USB Charging Shoulder Bag
Regular price $39.00 -
InterActive Pet Ball
Regular price $15.00 -
Soccer Ball For Dog
Regular price $32.00 -
Grain Storage
Regular price $80.00 -
Clear Face Facial Cleanser
Regular price $79.00 -
PainKiller Colic Device
Regular price $22.00