{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/early-fall-sale-30-off?sort_by=' + sort + '&filter.v.availability=1&' + 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;
history.replaceState(null, null, '?sort_by=' + sort + '&filter.v.availability=1&' + queryString);
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
}
"
>
{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/early-fall-sale-30-off?sort_by=' + sort + '&filter.v.availability=1&' + 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;
history.replaceState(null, null, '?sort_by=' + sort + '&filter.v.availability=1&' + queryString);
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
}
"
>
Sort by:
Products
-
adidas Men's 3-Stripes French Terry Quarter-Zip Pullover
Regular price$60Sale price $26.99 55% OFF -
Three Sixty Six Men's Two Tone Long Sleeve Polo
Regular price$49.95Sale price $25.00 50% OFF -
Three Sixty Six Men's Flannel Long Sleeve Shirt
Regular price$49.95Sale price $25.00 50% OFF -
IZOD Men's Full Zip Puffer Vest
Regular price$70Sale price $44.99 36% OFF