{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/discount-boys-pants?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/discount-boys-pants?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 Track Adicolor Pantalon Garçon
Prix habituel$40Prix soldé $19.99 50% OFF -
Lucky Brand Lucky Authentic Pantalon en jean skinny pour garçon
Prix habituel$42.50Prix soldé $14.99 65% OFF -
Tommy Hilfiger Pantalon en jean coupe skinny pour garçon
Prix habituel$44.50Prix soldé $31.99 28% OFF -
Timberland Pantalon de jogging camouflage pour grand garçon
Prix habituel$44.50Prix soldé $11.99 73% OFF -
Pantalon de jogging Nautica pour garçon
Prix habituel$39.50Prix soldé $11.99 70% OFF -
Lucky Brand Pantalon de jogging camouflage explosé pour grand garçon
Prix habituel$49.50Prix soldé $9.99 80% OFF