{
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
-
Ins Slippers Women Men Peep Toe Slipper Summer Hollow Unisex Sports Beach Shoes
Regular price £24.99 -
New Creative Electronic Watch Lighter
Regular price £18.99 -
Smart Watch Sports Watch Bluetooth Connection Mobile Phone Smart Watch
Regular price £71.99 -
Home Fashion Wireless Hand-held Vegetable Cutter
Regular price £29.99 -
Ginger Antidandruff Antipruritic Massage Balm
Regular price £13.99 -
Hair Growth Oil Hair Growth Oil Oem Hair Care Essential Oil
Regular price £13.99 -
Dogs Teeth Cleaning Chew Toys
Regular price £12.99 -
Hot Thermos Sweat workout slimming Leggings
Regular price £28.99 -
Workout Sweat Sauna Pants Body Shaper
Regular price £19.99 -
Magic frozen Slushy Cup
Regular price £20.99 -
12 In 1 Manual Vegetable Chopper
Regular price £31.99 -
Self Spinning Whisk
Regular price £12.99 -
Pet Breathable Cooling Vest
Regular price £28.99 -
Interactive Training Toys For Cats
Regular price £18.99 -
Head Wearing Feather Funny Cat Stick
Regular price £13.99 -
Summer Beach Soft Slippers
Regular price £16.99