{
const queryString = new URLSearchParams(new FormData($refs.assistant_form)).toString();
step1 = false;
step2 = true;
loading = true;
let sport = $refs.assistant_form.Sport.value;
let type = $refs.assistant_form.Type.value;
let position = $refs.assistant_form.Position.value;
let age = $refs.assistant_form.age.value+'ag';
let hand = $refs.assistant_form.Hand.value;
console.log('filter updated', queryString, sport, position, age, hand);
console.log('/collections/all/?sort_by=title-ascending&filter.p.tag=' + sport +'&filter.p.tag='+ type +'&filter.p.tag='+position+'&filter.p.tag='+age+'&filter.p.tag='+hand);
fetch('/collections/all/?sort_by=title-ascending&filter.p.tag=' + sport +'&filter.p.tag='+ type +'&filter.p.tag='+position+'&filter.p.tag='+age+'&filter.p.tag='+hand)
.then(response => response.text())
.then( data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
let html_dom = html_div.querySelector('#filter-results').innerHTML;
document.querySelector('#main-products').innerHTML = html_dom;
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
})
"
x-init="$watch('step', () => { width = step * 16.666 })"
>
Your Ultimate Guide to Understanding and Utilizing Bat Technology
Enhance your daily interactions and boost productivity with Bat Assistant. Our cutting-edge technology ensures seamless communication and efficient task management. Experience the power of a personalized digital assistant at your fingertips.
Elevate your workflow with Bat Assistant today!