{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
loading = true;
fetch('/collections/lucky-brand?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/lucky-brand?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
-
Lucky Brand Men's Sueded Jersey Knit Jogger Sleep Pant
Regular price$39.50Sale price $7.99 80% OFF -
-
Lucky Brand Boy's Lucky Knit Denim Pull On Pant
Regular price$49.50Sale price $12.99 74% OFFRated 5.0 out of 5 -
-
-
-
-
Lucky Brand Girl's Giselle-Rip and Repair Jean
Regular price$44.50Sale price $19.99 55% OFFRated 5.0 out of 5 -
Lucky Brand Little Boy's Lucky Knit Denim Pull On Pant
Regular price$44.50Sale price $12.99 71% OFF -
-
-
-
-
-
-
Lucky Brand Little Girl's Giselle-Rip and Repair Zoe Fit Jean
Regular price$39.50Sale price $15.99 60% OFF -