{
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
-
Sale
Solar LED Light Waterproof
Sale price $20.98 $9.99 -
Lizard Tongue Game
Regular price $12.00 -
Frog Kids Hat
Regular price $16.00 -
Right Posture Modeling Strap
Regular price $29.00 -
Electric Pets Nail Clipper
Regular price $35.00 -
Anti Snoring Device
Regular price $28.00 -
Pain reliever
Regular price $24.00 -
Neck Pain Cushion
Regular price $24.00 -
Clear Face Facial Cleanser
Regular price $79.00 -
Pet Paws Paw Cleaner Cup
Regular price $41.00 -
Bag SmartPocket
Regular price $25.00 -
Sale
Dog Scooper
$25.00 $21.00 -
Gyroball Hand Training
Regular price $30.00 -
Collar With Flashlight Lighting Walk
Regular price $51.00 -
CarPractice Water Heater Cup
Regular price $75.00 -
Baby Montessori Toy
Regular price $26.00