Lily & Mel
Lily & Mel was born out of a desire to reconnect children with nature, to awaken their creativity and imagination. As parents of two girls, they firmly believe that children should be free to explore their curiosities and create with their own hands, by learning from nature through play. Their mission is to instill in these little explorers a love for mother nature and its beauty so they can be the generation of change makers in the future.
Enjoy these kits with your children and feel the magic of creating with nature.
{
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/lily-mel?' + 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);
})"
>
Sorry, there are no products in this collection