-
Good quality products, speedy delivery
My order was easy to put in, the products arrived in good time at a great price. No problems with this order.
-
Great delivery and worth the price
The product was dispatched quickly and received in good condition. The product is quite satisfactory.
-
Great find!
My husbands homeopath Dr. prescribed him this product to help him with his inmune system, this was the best option as other stores will take a long time to deliver it.
{
const queryString = new URLSearchParams(new FormData($refs.filter_form)).toString()
let filterMedAccess = '';
if (window.customer.isLogged){
if (window.customer.isDoctor) {
let filterMedAccess = '';
} else {
filterMedAccess = '&filter.p.tag=customer&'
}
} else {
filterMedAccess = '&filter.p.tag=customer&'
}
fetch('/collections/malibu?'+ filterMedAccess + queryString + '&sort_by=' + sort_by)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
let html_dom = html_div.querySelector('#ProductGridContainer').innerHTML;
let collectionActiveFilters = html_div.querySelector('#collectionActiveFilters').innerHTML;
let collectionProductsCount = html_div.querySelector('#resultsProductCount2').innerHTML;
document.querySelector('#ProductGridContainer').innerHTML = html_dom;
document.querySelector('#collectionActiveFilters').innerHTML = collectionActiveFilters;
document.querySelector('#resultsProductCount2').innerHTML = collectionProductsCount;
if (queryString){
const wrapp = html_div.querySelectorAll('.collection__inner .accordion__content--wrapper');
console.log(wrapp);
const arrId = ['product_type', 'brand', 'availability', 'tags', 'colour', 'pack_size', 'position', 'size', 'stock_option' ];
wrapp.forEach(elem => {
arrId.forEach(arr => {
if (arr == elem.id){
let htmlContentWrapper = html_div.querySelector(`#${arr}`).innerHTML;
document.querySelector(`#${arr}`).innerHTML = htmlContentWrapper;
}
})
})
if (window.customer.isLogged){
if (window.customer.isDoctor) {
history.replaceState(null, null, '?' + queryString + '&sort_by=' + sort_by);
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer&' + queryString + '&sort_by=' + sort_by);
}
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer&' + queryString + '&sort_by=' + sort_by);
}
} else {
const wrapp = html_div.querySelectorAll('.collection__inner .accordion__content--wrapper');
const arrId = ['product_type', 'brand', 'availability', 'tags', 'colour', 'pack_size', 'position', 'size', 'stock_option' ];
wrapp.forEach(elem => {
arrId.forEach(arr => {
if (arr == elem.id){
let htmlContentWrapper = html_div.querySelector(`#${arr}`).innerHTML;
document.querySelector(`#${arr}`).innerHTML = htmlContentWrapper;
}
})
})
if (window.customer.isLogged){
if (window.customer.isDoctor) {
history.replaceState(null, null, '?' + '&sort_by=' + sort_by);
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer' + '&sort_by=' + sort_by);
}
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer' + '&sort_by=' + sort_by);
}
}
})
.catch(error => console.error('Error:', error))
});
if ($event.target.getAttribute('type') == 'radio'){
sort = $event.detail.label
sort_by = $event.detail.sort_by
}
"
@update-filter-mobile.window="
$nextTick(() => {
const queryString = new URLSearchParams(new FormData($refs.filter_form_mobile)).toString();
let filterMedAccess = '';
if (window.customer.isLogged){
if (window.customer.isDoctor) {
let filterMedAccess = '';
} else {
filterMedAccess = '&filter.p.tag=customer&'
}
} else {
filterMedAccess = '&filter.p.tag=customer&'
}
fetch('/collections/malibu?' + filterMedAccess + queryString + '&sort_by=' + sort_by)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
let html_dom = html_div.querySelector('#ProductGridContainer').innerHTML;
let collectionActiveFilters = html_div.querySelector('#collectionActiveFilters').innerHTML;
let collectionProductsCount = html_div.querySelector('#resultsProductCount').innerHTML;
document.querySelector('#ProductGridContainer').innerHTML = html_dom;
document.querySelector('#collectionActiveFilters').innerHTML = collectionActiveFilters;
document.querySelector('#resultsProductCount').innerHTML = collectionProductsCount;
if (queryString){
const wrapp = html_div.querySelectorAll('.collection__inner .accordion__content-mobile--wrapper');
const arrId = ['product_type_mobile', 'brand_mobile', 'availability_mobile', 'tags_mobile', 'colour_mobile', 'pack_size_mobile', 'position_mobile', 'size_mobile', 'stock_option_mobile' ];
wrapp.forEach(elem => {
arrId.forEach(arr => {
if (arr == elem.id){
let selectedFilters = html_div.querySelector(`#${arr}`).innerHTML;
document.querySelector(`#${arr}`).innerHTML = selectedFilters;
}
})
})
if (window.customer.isLogged){
if (window.customer.isDoctor) {
history.replaceState(null, null, '?' + queryString + '&sort_by=' + sort_by);
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer&' + queryString + '&sort_by=' + sort_by);
}
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer&' + queryString + '&sort_by=' + sort_by);
}
} else {
const wrapp = html_div.querySelectorAll('.collection__inner .accordion__content-mobile--wrapper');
const arrId = ['product_type_mobile', 'brand_mobile', 'availability_mobile', 'tags_mobile', 'colour_mobile', 'pack_size_mobile', 'position_mobile', 'size_mobile', 'stock_option_mobile' ];
wrapp.forEach(elem => {
arrId.forEach(arr => {
if (arr == elem.id){
let selectedFilters = html_div.querySelector(`#${arr}`).innerHTML;
document.querySelector(`#${arr}`).innerHTML = selectedFilters;
}
})
})
if (window.customer.isLogged){
if (window.customer.isDoctor) {
history.replaceState(null, null, '?' + '&sort_by=' + sort_by);
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer' + '&sort_by=' + sort_by);
}
} else {
history.replaceState(null, null, '?' + '&filter.p.tag=customer' + '&sort_by=' + sort_by);
}
}
})
.catch(error => console.error('Error:', error))
});
if ($event.target.getAttribute('type') == 'radio'){
sort = $event.detail.label
sort_by = $event.detail.sort_by
}
"
>