{
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
- Most relevant
- Best selling
- Alphabetically, A-Z
- Alphabetically, Z-A
- Price, low to high
- Price, high to low
- Date, old to new
- Date, new to old
-
Revolutionary 3-in-1 Car Shine and Scratch Repair Spray
Regular price $7.99 -
Sale
Self-Adhesive Eyelashes-FREE TODAY
$19.95 $0.00 -
Smart 5-Tier Foldable Shoe Rack with Adjustable Shelves
Regular price $9.60 -
Sale
Smart Elastic Wallet with Keychain Option
$10.99 $9.99 -
Smart Faucet Night Light with Sound Control - Add Sophistication to Your Space
Regular price $19.99 -
Sale
Solar Powered Waterproof Vintage Garden Light
Sale price $23.90 $12.90 -
Sale
Sparkling Rhinestone Bun Maker
$19.97 $17.97 -
Sunset Serenity Light Projector
Regular price $19.00 -
The FlyBall
Regular price $22.99 -
The Forever Picture Frame
Regular price $69.00 -
Sale
The Grip Trainer: Enhance Your Grip Strength
$23.22 $15.83 -
The Original Babynest
Regular price $39.99 -
Ultimate Stainless Steel Earwax Removal Kit
Regular price $14.99 -
Sale
USB Vintage Electric Hair Trimmer - Professional Grade
Sale price $19.90 $14.99 -
Versatile Smart LED Lamp with Bluetooth Speaker and Wireless Charging
Regular price $52.99 -
Sale
Versatile Yoga Strap for Enhanced Flexibility and Support
$10.57 $10.40