{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/shorts?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/shorts?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
-
Chaps Men's Performance Flat Front Shorts
Regular price$55Sale price $24.99 55% OFF -
Eddie Bauer Men's 2 Pack Shorts
Sale price $16.99 -
Calvin Klein Women's Shorts
Regular price$24Sale price $21.99 8% OFF -
Nanette Lepore Women's 2 in 1 Short
Regular price$44Sale price $11.99 73% OFF -
Calvin Klein Women's Surprise Shorts
Regular price$36.50Sale price $9.99 73% OFF -
Reebok Women's Run With It Shorts
Regular price$45Sale price $16.99 62% OFF -
Canada Weather Gear Men's Cargo Bengaline Short
Regular price$60Sale price $29.99 50% OFF -
allbirds Women's Natural Run Short
Regular price$44Sale price $19.99 55% OFF