{
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
-
Fashion Travel Mobile Phone Lazy Holder
Regular price $21.99 -
Sale
Smart Identification Display Fast Charge Travel Charger
$59.99 $42.99 -
Sale
HD 2K Touch Portable Monitor
$349.99 $249.99 -
Mobile Phone Stand Desktop Stand Mobile Phone Tablet Lazy Stand
Regular price $29.99 -
With Cable Power Bank 20000 MA Large Capacity
Regular price $59.99 -
Mobile Wireless Magnetic Plastic Power Bank
Regular price $42.99 -
Wireless 7 Charger Head Bracket Mobile Power Supply
Regular price $89.99 -
Wireless Bluetooth folding mini keyboard
Regular price $51.99 -
Magnetic Suction Folding Wireless Charger
Regular price $49.99 -
Solarius Solar Power Charger
Regular price $57.00