Shop by Collection
{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
loading = true;
fetch('/collections/shop-by-collection?' + queryString)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
let html_dom = html_div.querySelector('.ajax-collection').innerHTML;
document.querySelector('.ajax-collection').innerHTML = html_dom;
// update url without refreshing the page
history.replaceState(null, null, '?' + queryString);
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
})
"
>
Refine by
Sort by:
Halloween Dog Collar - Candy Corn Block
Translation missing: en.products.product.price.regular_price
$25.00
Prepster Rip Tie - Pink Polo Leash
Translation missing: en.products.product.price.regular_price
$26.00
Prepster Rip Tie - Pink Polo Harness
Translation missing: en.products.product.price.regular_price
$32.00
Prepster Rip Tie - Pink Polo Collar
Translation missing: en.products.product.price.regular_price
$26.00
Prepster Rip Tie - Ivy League Green Leash
Translation missing: en.products.product.price.regular_price
$26.00
Prepster Rip Tie - Ivy League Green Harness
Translation missing: en.products.product.price.regular_price
$32.00
Prepster Rip Tie - Gin & Tonic Red Leash - Sku 902
Translation missing: en.products.product.price.regular_price
$26.00