Men's Tanks
Filters
>
Showing 28 products
{
let [param, value] = filter.split('=');
console.log({ param, value });
if (!filters[param]) {
filters[param.replaceAll('?', '')] = [value];
} else {
filters[param.replaceAll('?', '')].push(value);
}
});
}
// Verificar si el filtro a agregar ya existe
let [paramToAdd, valueToAdd] = filterToAdd.split('=');
if (filters[paramToAdd] && filters[paramToAdd].includes(valueToAdd)) {
// Si existe, quitarlo de los filtros
filters[paramToAdd] = filters[paramToAdd].filter(value => value !== valueToAdd);
} else {
// Si no existe, agregarlo a los filtros
if (!filters[paramToAdd]) {
filters[paramToAdd] = [valueToAdd];
} else {
filters[paramToAdd].push(valueToAdd);
}
}
// Formatear los filtros para la URL
const filterParams = Object.entries(filters).map(([param, values]) => {
return values.map(value => `${param}=${value}`).join('&');
})
const queryString = filterParams.length > 0 ? '?' + filterParams.join('&') : '';
// Almacenar la query en el dataset
document.querySelector('.filters-wrapper').dataset.filters = queryString;
console.log('This should be desktop only', { queryString });
">
Sort by
>
Filters & Sort
>
×
Sort By
>
{
let [param, value] = filter.split('=');
console.log({ param, value });
if (!filters[param]) {
filters[param.replaceAll('?', '')] = [value];
} else {
filters[param.replaceAll('?', '')].push(value);
}
});
}
// Verificar si el filtro a agregar ya existe
let [paramToAdd, valueToAdd] = filterToAdd.split('=');
if (filters[paramToAdd] && filters[paramToAdd].includes(valueToAdd)) {
// Si existe, quitarlo de los filtros
filters[paramToAdd] = filters[paramToAdd].filter(value => value !== valueToAdd);
} else {
// Si no existe, agregarlo a los filtros
if (!filters[paramToAdd]) {
filters[paramToAdd] = [valueToAdd];
} else {
filters[paramToAdd].push(valueToAdd);
}
}
// Formatear los filtros para la URL
const filterParams = Object.entries(filters).map(([param, values]) => {
return values.map(value => `${param}=${value}`).join('&');
})
const queryString = filterParams.length > 0 ? '?' + filterParams.join('&') : '';
// Almacenar la query en el dataset
document.querySelector('.filters-wrapper').dataset.filters = queryString;
console.log('This should be mobile only', { queryString });
">
View
Men's Go Time | Rising Hearts
Quick View
Men's Go Time | Rising Hearts
$ 68.00
$ 68.00
Speedeez | Run Your Own Path
Quick View
Speedeez | Run Your Own Path
$ 70.00
$ 70.00
Men's Go Time | Chicago Speakeasy
Quick View
Men's Go Time | Chicago Speakeasy
$ 73.00
$ 73.00
Go Time | New York
Quick View
Go Time | New York
$ 68.00
$ 68.00
Go Time | Chicago
Quick View
Go Time | Chicago
$ 68.00
$ 68.00
Low Light Go Time | Itahara
Quick View
Low Light Go Time | Itahara
$ 85.00
$ 85.00
Race Pace Tank
Quick View
Race Pace Tank
$ 40.00
$ 50.00
Go Time | Berlin
Quick View
Go Time | Berlin
$ 68.00
$ 68.00
Go Time | Sydney
Quick View
Go Time | Sydney
$ 68.00
$ 68.00
EZ Tank Perf
Quick View
EZ Tank Perf
Sold Out
Go Time | Love All
Quick View
Go Time | Love All
$ 61.20
$ 68.00
Speedeez | Arizona
Quick View
Speedeez | Arizona
$ 52.00
$ 65.00
Speedeez | Canada
Quick View
Speedeez | Canada
$ 65.00
$ 65.00
Speedeez | Mexico
Quick View
Speedeez | Mexico
$ 65.00
$ 65.00
Ice Perf Tank
Quick View
Ice Perf Tank
$ 48.00
$ 48.00
Go Time | London
Quick View
Go Time | London
$ 54.40
$ 68.00
Go Time | Boston
Quick View
Go Time | Boston
$ 54.40
$ 68.00
Go Time | Tokyo
Quick View
Go Time | Tokyo
$ 54.40
$ 68.00
Speedeez | California
Quick View
Speedeez | California
$ 58.50
$ 65.00
Race Pace Tank
Quick View
Race Pace Tank
$ 40.00
$ 50.00
Speedeez | Maryland
Quick View
Speedeez | Maryland
$ 52.00
$ 65.00
Speedeez | DC
Quick View
Speedeez | DC
$ 52.00
$ 65.00
Speedeez | CA
Quick View
Speedeez | CA
$ 52.00
$ 65.00
Speedeez | Texas
Quick View
Speedeez | Texas
$ 52.00
$ 65.00
Speedeez | Colorado
Quick View
Speedeez | Colorado
$ 54.00
$ 65.00