{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/bestsellers?' + 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
-
Kitchen Bathroom Toilet Cleaning Magic Brush
Regular price $14.00 -
2 In 1 Oil Sprayer Bottle BBQ Cooking Oil Dispenser
Regular price $34.00 -
Creative Salad Cutter Fruit and Vegetable Cutter
Regular price $40.00 -
Sale
Smart Trash Can With Lid For Bedroom or Kitchen
$77.00 $63.00 -
8 In 1 Mandoline Slicer Vegetable Slicer
Regular price $30.00 -
Aromatherapy Machine Spray Air Flame Humidifier Diffuser
Regular price $30.00 -
Mini Mops Floor Cleaning Sponge Squeeze Mop Household
Regular price $23.00 -
12 In 1 Manual Vegetable Chopper Kitchen
Regular price $21.00 -
36-piece Stainless Steel Tableware Wooden Box Gift Box Set
Regular price $98.00 -
Wine glass holder
Regular price $20.00