
Tennis Accessories
When it comes to winning, it's all about the small things that help you to take that extra step. Being comfortable should be your priority ahead of the game, and here at Golden Age Of Tennis, we offer an immense range of wristbands and headbands perfect for helping combat those scorching summer day sweats. Letting you focus on what's truly important, tennis accessories should never be overlooked, and we've got the best selection in one place.
{
loading = true;
const params = new URLSearchParams(window.location.search);
const newParams = new URLSearchParams(new FormData($refs.filter_form));
newParams.set('page', 1);
newParams.set('filter.v.availability', 1);
if(params.get('sort_by')){
newParams.set('sort_by', params.get('sort_by'));
}
fetch(`/collections/tennis-accessories?${newParams.toString()}`)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
// update product grid view
let html_dom = html_div.querySelector('#ProductGridContainer').innerHTML;
document.querySelector('#ProductGridContainer').innerHTML = html_dom;
// update filter view
let filters_dom = html_div.querySelector('#ProductFilters').innerHTML;
document.querySelector('#ProductFilters').innerHTML = filters_dom;
document.title = html_div.querySelector('title').textContent;
// update url without refreshing the page
history.replaceState(null, null, '?' + newParams.toString());
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
})"
>