{
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
-
Smart Watch Bluetooth Call Heart Rate Blood Oxygen Monitoring
Regular price $39.90 -
Smartwatch Bluetooth Calling Music Playback Full Touch Mode
Regular price $24.90 -
Sale
Self Cleaning Bidet Toilet Water Spray Toilet Seat Heated
$79.90 $59.90 -
Sale
Bluetooth wireless smart automatic curtain
$109.90 $49.90 -
3 in 1 Robot Vacuum Cleaner Multifunctional Smart Floor Cleaner USB Rechargeable Wet Dry Vacuum Cleaner
Regular price $29.90 -
Sale
Wifi camera for Home
$34.90 $29.90 -
Home Baby Monitor Wi-Fi IP Camera Wireless Smart Dog Camera
Regular price $59.90 -
Women Retro Sunglasses
Regular price $9.90 -
Sale
Full body shapewear
$27.90 $14.90 -
Original Men's Polarized Sunglasses
Regular price $49.90 -
Men's Metal Sunglasses Polarized Day And Night
Regular price $9.90 -
Best Car Bluetooth MP3
Regular price $24.90 -
Sale
Wireless Bluetooth Speaker 10W Waterproof Subwoofer
$89.90 $29.90 -
Sexy velvet print slim two piece set
Regular price $19.90 -
Fashion Women's 3-Piece Outfit Set
Regular price $34.90 -
Men's winter jacket
Regular price $39.90