{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/mens-hats?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/mens-hats?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
-
SwingJuice Golf Retro Unisex Trucker Hat
Regular price$40Sale price $32.00 20% OFF -
SwingJuice Pickleball SJPB Visor Blue O/S
Regular price$42Sale price $16.00 62% OFF -
SwingJuice Golf Retro Unisex Rope Hat
Regular price$40Sale price $32.00 20% OFF -
SwingJuice Golf Accoutrements Snapback Hat
Sale price $42.00 -
FILA Men's Heritage Script Cap
Regular price$24.99Sale price $12.99 48% OFF -
FILA Men's 5 Panel Cap
Regular price$29.99Sale price $12.99 57% OFF -
Oakley Men's Heather New Era Hat
Regular price$35Sale price $29.99 14% OFF -
Hurley Men's Beach Boonie Hat
Regular price$36Sale price $9.99 72% OFF -
MTV Trucker Hat
Regular price$30Sale price $25.99 13% OFF -
Nike Sportswear Heritage 86 Hat
Regular price$24Sale price $20.99 13% OFF -
Nike Legacy 91 "Proozy" Adjustable Hat
Regular price$22Sale price $17.99 18% OFF -
PUMA Adult Golf Jersey Stretch Fit Cap
Regular price$30Sale price $9.99 67% OFF -
TravisMathew Men's "Proozy" Snapback Hat
Regular price$29.95Sale price $12.99 57% OFF -
GRENADE Men's Knit Beanie
Regular price$14.99Sale price $8.99 40% OFF