Harvest Celebration
As late summer settles in, the air carries the rich scent of ripe fruit and golden grains, signaling the arrival of harvest time. It's a season of abundance, where the earth generously offers its bounty, and communities gather to celebrate the fruits of their labor. At Conscious Craft, we honor this time of year with gratitude and mindfulness, embracing the cycles of nature. Our handcrafted goods, inspired by the harvest, embody the warmth and richness of the season. Join us in celebrating the transition from summer's vibrancy to the cozy embrace of autumn, as we cherish the beauty of craftsmanship rooted in nature's rhythms.
{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString();
let pattern = /[?&]sort_by=/;
let collUrl = location.search;
let newUrl = queryString;
if(pattern.test(collUrl)) {
const theString = window.location.search;
const urlParams = new URLSearchParams(theString);
const sorty = urlParams.get('sort_by')
newUrl = queryString + '&sort_by=' + sorty;
console.log(sorty);
}
console.log(queryString);
console.log(newUrl);
loading = true;
fetch('/collections/harvest-celebration?' + newUrl)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
let html_dom = html_div.querySelector('#dataMix').innerHTML;
document.querySelector('#dataMix').innerHTML = html_dom;
// update url without refreshing the page
history.replaceState(null, null, '?' + newUrl);
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
})"
>