{
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
-
Pet House
Regular price $30.75 -
Pet food bowl
Regular price $19.99 -
Sale
Pet footbath
$37.90 $27.44 -
Pet fence
Regular price $50.25 -
Pet handbag
Regular price $63.00 -
Pet diapers
Regular price $22.00 -
Pet backpack
Regular price $95.99 -
Pet bag
Regular price $24.30 -
bicycle basket pet bag
Regular price $64.60 -
Pet Products Pet Traction Rope Multifunctional
Regular price $22.10 -
Sale
Plush mat double pet blanket
$28.10 $19.20 -
Silicone Folding Pet Bowl
Regular price $21.66 -
Pet shoulder bag foldable
Regular price $24.99 -
Pet chest bag
Regular price $31.00 -
Pet Car Bag Breathable
Regular price $39.72 -
Sale
Pet Rest Cushion
$86.80 $76.11