{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/vendors?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/vendors?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
-
Oakley Men's Tin Can Stretch Hat
Regular price$30Sale price $11.99 60% OFF -
Oakley Men's Townie 19" Shorts
Regular price$70Sale price $53.99 23% OFF -
Oakley Men's Transport Hybrid 19" Shorts
Regular price$60Sale price $29.99 50% OFF -
Oakley Men's Turbine Sunglasses
Sale price $184.00 -
Oakley Men's USA Flag Picture Short Sleeve Tee
Regular price$25Sale price $6.99 72% OFF -
Oakley Men's Valve Polarized Sunglasses
Regular price$232Sale price $121.99 47% OFF -
Oakley Women's Caveat Polarized Sunglasses
Regular price$250Sale price $125.99 50% OFF -
Oakley Women's Trailing Point Sunglasses
Regular price$203Sale price $101.99 50% OFF