{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/fitness-week-30-off-sale?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/fitness-week-30-off-sale?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 Essential Fleece Joggers
Regular price$50Sale price $27.99 44% OFFRated 4.6 out of 5 -
-
-
Canada Weather Gear Men's 2 Color Elemental Super Soft Techno Sweats
Regular price$60Sale price $18.99 68% OFF -
-
-
Canada Weather Gear Men's Colorblock Jogger
Regular price$65Sale price $48.99 25% OFFRated 5.0 out of 5 -
allbirds Unisex Trino Sprinters (No Show)
Regular price$12Sale price $4.99 58% OFFRated 4.0 out of 5 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-