{
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
Mini USB Drive Waterproof Drive
$23.99 $15.99 -
Unleash Your Gaming Prowess with the Wireless 6D Gaming Mouse
Regular price $9.59 -
Sale
Solarius Solar Power Charger
Sale price $89.00 $82.00 -
TootHealthy Toothbrush Sterilizer
Regular price $30.00 -
Sale
Print Anywhere, Instantly: Fast Print Mini Printer More Kit
Sale price $49.90 $39.99 -
Stay Powered On-the-Go: ChargeCar Mobile Support
Regular price $22.99 -
Multiple Functions Smart Luminaire
Regular price $106.00 -
Connect Cell Reusable Cable - Your Last Charging Cable Ever!
Regular price $4.99 -
Sale
On-the-Go Comfort: CarPractice Water Heater Cup
Sale price $64.50 $56.99 -
Sale
Sensili Smart Trash
$81.00 $75.00 -
Sale
Experience the Future of Flight with the Intelligence Drone
Sale price $84.50 $69.90 -
QIntelligent Padlock
Regular price $96.99 -
Sale
Brilliantly Connected: Bluetooth Smart LED 15 Lights
Sale price $22.00 $18.50 -
SecureLock Pendrive: Your Digital Vault of Privacy 256GB
Regular price $324.99 -
Quick Browse Wireless Mouse
Regular price $23.50 -
Sale
Safe Security Anti Theft Wallet 2
Sale price $54.50 $38.90