A space to discuss online store customization, theme development, and Liquid templating.
I Have two domain in my store and I setup two header in customizer then handle for user which domain visit for this code below then working fine but customizer is blank because "href " check url
<script>
if(!window.location.href.includes("{{ section.settings.domain }}")){
document.getElementById('sid-{{ section.id }}').style.display = 'none';
}
</script>