Men's EZ & Essentials
Filters
>
Showing 24 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 Dream Chaser 2.0
Quick View
Men's Dream Chaser 2.0
$ 160.00
$ 160.00
EZ Tee SS | Updated Fit
Quick View
EZ Tee SS | Updated Fit
from
$ 43.20
$ 48.00
EZ Tee LS | Updated Fit
Quick View
EZ Tee LS | Updated Fit
from
$ 49.50
$ 55.00
EZ Pullover
Quick View
EZ Pullover
from
$ 58.50
$ 65.00
Go-to Crew
Quick View
Go-to Crew
from
$ 67.50
$ 75.00
Go-to Hoodie All Gender | Updated Fit
Quick View
Go-to Hoodie All Gender | Updated Fit
$ 85.00
$ 85.00
On the Go Tee
Quick View
On the Go Tee
$ 50.00
$ 50.00
EZ Joggers | Updated
Quick View
EZ Joggers | Updated
from
$ 79.20
$ 88.00
Speedsters
Quick View
Speedsters
from
$ 63.00
$ 70.00
Speedsters Brief
Quick View
Speedsters Brief
$ 75.00
$ 75.00
Tried n' True 7"
Quick View
Tried n' True 7"
from
$ 54.00
$ 60.00
Cruisers 5"
Quick View
Cruisers 5"
from
$ 70.20
$ 78.00
Cruisers 7"
Quick View
Cruisers 7"
from
$ 70.20
$ 78.00
EZ Zip 2.0
Quick View
EZ Zip 2.0
$ 54.40
$ 68.00
Go-To Hoodie All Gender
Quick View
Go-To Hoodie All Gender
$ 67.50
$ 75.00
EZ Polo LS
Quick View
EZ Polo LS
$ 58.50
$ 65.00
Ice Perf Tee LS
Quick View
Ice Perf Tee LS
$ 55.00
$ 55.00
Waffle Beanie
Quick View
Waffle Beanie
$ 32.00
$ 32.00
Adjustable Visor
Quick View
Adjustable Visor
from
$ 27.00
$ 30.00