{"categories":[{"id":"208","name":"Meubelwastafel","required":true,"multiple":true,"expanded":true,"single_product":false,"products":[{"product_id":"185242","sku":"A09892223301122","name":"Thebalux Twenty Keramische wastafel 141x46x12,5 cm 2 kraangaten Wit Glans","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/t\/w\/twenty140X2.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-twenty-keramische-wastafel-141x46x12-5-cm-2-kraangaten-wit-glans-3tw141190.html","price_final":1190.08,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"185242\" data-price-box=\"product-id-185242\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D185242']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D185242')\"                data-price-amount=\"1440\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >1.440,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D185242']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D185242')\"                data-price-amount=\"1190.08\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >1.190,08<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"selected":true,"price_old":1440,"price_discount":249.92},{"product_id":"185246","sku":"A80900486370544","name":"Thebalux Space Wastafel mineraalmarmer 140,5x45x9 cm 2 kraangaten Wit Glans","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/3\/S\/3SW140046.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-space-wastafel-mineraalmarmer-140-5x45x9-cm-2-kraangaten-wit-glans-3sw140046mgl.html","price_final":556.2,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"185246\" data-price-box=\"product-id-185246\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D185246']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D185246')\"                data-price-amount=\"673\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >673,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D185246']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D185246')\"                data-price-amount=\"556.2\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >556,20<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"price_old":673,"price_discount":116.8},{"product_id":"185238","sku":"A43509812691899","name":"Thebalux Space Wastafel mineraalmarmer 140,5x45x9 cm zonder kraangat Wit Glans","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/3\/S\/3SW140048MGL_P1.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-space-wastafel-mineraalmarmer-140-5x45x9-cm-zonder-kraangat-wit-glans-3sw140048mgl.html","price_final":556.2,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"185238\" data-price-box=\"product-id-185238\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D185238']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D185238')\"                data-price-amount=\"673\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >673,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D185238']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D185238')\"                data-price-amount=\"556.2\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >556,20<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"price_old":673,"price_discount":116.8},{"product_id":"185215","sku":"A67924983821529","name":"Thebalux Beat Beton Wastafel 140,3x45x9 cm 2 kraangaten Beton Grijs","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/3\/B\/3BB140040BG1_P1.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-beat-beton-wastafel-140-3x45x9-cm-2-kraangaten-beton-grijs-3bb140040bg1.html","price_final":1685.12,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"185215\" data-price-box=\"product-id-185215\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D185215']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D185215')\"                data-price-amount=\"2039\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >2.039,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D185215']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D185215')\"                data-price-amount=\"1685.12\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >1.685,12<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"price_old":2039,"price_discount":353.88},{"product_id":"185213","sku":"A55905173673383","name":"Thebalux Beat Beton Wastafel 140,3x45x9 cm zonder kraangat Beton Grijs","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/3\/B\/3BB140042BG1_P1.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-beat-beton-wastafel-140-3x45x9-cm-zonder-kraangat-beton-grijs-3bb140042bg1.html","price_final":1685.12,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"185213\" data-price-box=\"product-id-185213\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D185213']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D185213')\"                data-price-amount=\"2039\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >2.039,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D185213']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D185213')\"                data-price-amount=\"1685.12\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >1.685,12<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"price_old":2039,"price_discount":353.88}],"label":"noodzakelijk"},{"id":"216","name":"Dubbele wastafel","required":true,"multiple":true,"expanded":true,"single_product":false,"products":[{"product_id":"163871","sku":"A28465236313799","name":"Thebalux Spirit wastafel 2 kraangaten 140,5x46x12cm wit","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/3\/S\/3SR141030KW-1.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-spirit-wastafel-2-kraangaten-140-5x46x12cm-wit-3sr141030kw.html","price_final":1237.19,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"163871\" data-price-box=\"product-id-163871\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D163871']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D163871')\"                data-price-amount=\"1497\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >1.497,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D163871']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D163871')\"                data-price-amount=\"1237.19\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >1.237,19<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"selected":true,"price_old":1497,"price_discount":259.81},{"product_id":"163872","sku":"A98200296408628","name":"Thebalux Spirit wastafel zonder kraangat 140,5x46x12cm wit","image":"https:\/\/media.saniweb.nl\/cdn-cgi\/image\/fit=pad,format=auto,width=240,height=240\/media\/catalog\/product\/3\/S\/3SR141032KW_1.jpg","url":"https:\/\/www.saniweb.nl\/thebalux-spirit-wastafel-zonder-kraangat-140-5x46x12cm-wit-3sr141032kw.html","price_final":1237.19,"price_html":"<div class=\"price-box price-final_price\" data-role=\"priceBox\" data-product-id=\"163872\" data-price-box=\"product-id-163872\">    <span class=\"w-full advice-price block shrink-0 text-xs text-brand-gray-dark -mb-2 \">\n        Adviesprijs        <span\n    x-data x-id=\"['old\\u002Dprice\\u002D163872']\"    class=\"price-container line-through&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('old\\u002Dprice\\u002D163872')\"                data-price-amount=\"1497\"\n        data-price-type=\"originalPrice\"\n        class=\"price-wrapper \"\n    >1.497,00<\/span>\n        <\/span>\n    <\/span>\n<div class=\"current-price final flex relative\">\n    <span class=\"price-label sr-only\">Prijs<\/span>\n    <span\n    x-data x-id=\"['product\\u002Dprice\\u002D163872']\"    class=\"price-container font-extrabold&#x20;text-3xl&#x20;lg&#x3A;text-3.5xl&#x20;currency-sign&#x20;tax&#x20;weee\"\n        >\n        <span  :id=\"$id('product\\u002Dprice\\u002D163872')\"                data-price-amount=\"1237.19\"\n        data-price-type=\"finalPrice\"\n        class=\"price-wrapper \"\n    >1.237,19<\/span>\n        <\/span>\n<\/div>\n<div class=\"hidden discount-price-label-wrapper ml-auto\">\n            <div class=\"discount-price discount-price-basic relative flex items-center ml-3.5 font-bold leading-3 bg-brand-blue px-2.5 text-white text-xs lg:text-sm rounded-r\n             \"\n         >\n            <span class=\"uppercase\">Je bespaart&nbsp;<\/span>\n            <span>17%<\/span>\n        <\/div>\n    <\/div>\n<\/div>","review_html":"","review_summary":null,"review_count":null,"price_old":1497,"price_discount":259.81}],"label":"noodzakelijk"}],"html":"\n<!-- Start Google Analytics 4 for Google Tag Manager by MagePal -->\n<script type=\"text\/javascript\">\n    (function () {\n        let globalDatalayer = window.dataLayer = window.dataLayer || [];\n\n        function init() {\n            const data = [{\"event\":\"view_item_list\",\"ecommerce\":{\"items\":[{\"item_name\":\"Thebalux Twenty Keramische wastafel 141x46x12,5 cm 2 kraangaten Wit Glans\",\"item_id\":\"A09892223301122\",\"price\":1190.08,\"item_list_name\":\"Advanced Crosssells\",\"item_list_id\":\"advanced_crosssells\",\"index\":1,\"currency\":\"EUR\",\"quantity\":1,\"p_id\":185242,\"original_price\":1440,\"item_category\":\"Meubelwastafel\"},{\"item_name\":\"Thebalux Spirit wastafel 2 kraangaten 140,5x46x12cm wit\",\"item_id\":\"A28465236313799\",\"price\":1237.19,\"item_list_name\":\"Advanced Crosssells\",\"item_list_id\":\"advanced_crosssells\",\"index\":2,\"currency\":\"EUR\",\"quantity\":1,\"p_id\":163871,\"original_price\":1497,\"item_category\":\"Dubbele wastafel\"}],\"currency\":\"EUR\",\"item_list_name\":\"Advanced Crosssells\",\"item_list_id\":\"advanced_crosssells\"},\"_clear\":true}];\n\n            const processedProductElements = [];\n            const viewItemListEvents = data.filter(item => item?.event === 'view_item_list');\n            const throttle = (callback, threshold = 200) => {\n                let last;\n                let deferTimer;\n                return (...args) => {\n                    const now = new Date().valueOf();\n                    if (last && now < last + threshold) {\n                        clearTimeout(deferTimer);\n                        deferTimer = setTimeout(() => {\n                            last = now;\n                            callback(args);\n                        }, threshold);\n                    } else {\n                        last = now;\n                        callback(args);\n                    }\n                };\n            }\n            const isElementInViewport = (el) => {\n                const rect = el.getBoundingClientRect();\n                const center = {\n                    x: (rect.right + rect.left) \/ 2,\n                    y: (rect.bottom + rect.top) \/ 2,\n                }\n                return (\n                    center.x >= 0 &&\n                    center.y >= 0 &&\n                    center.x <= (window.innerWidth || document.documentElement.clientWidth) &&\n                    center.y <= (window.innerHeight || document.documentElement.clientHeight)\n                );\n            }\n            const pushProductElements = (productElements) => {\n                const events = [];\n                const skus = productElements.map(productElement => productElement.dataset.listProductSku);\n                viewItemListEvents.forEach(viewItemsListEvent => {\n                    const eventItems = viewItemsListEvent?.ecommerce?.items?.filter(item => {\n                        return skus.includes(item.item_id)\n                    });\n                    if (eventItems && eventItems.length > 0) {\n                        const event = JSON.parse(JSON.stringify(viewItemsListEvent));\n                        event.ecommerce.items = eventItems;\n                        events.push(event);\n                    }\n                });\n\n                if (events.length) {\n                    events.forEach(event => {\n                        globalDatalayer.push(event);\n                    });\n                }\n            }\n            const checkNewProductsInViewport = () => {\n                const newProductElementsInViewport = [];\n                document.querySelectorAll(['[data-list-product-sku]']).forEach(productElement => {\n                    if (!processedProductElements.includes(productElement) && isElementInViewport(productElement)) {\n                        newProductElementsInViewport.push(productElement);\n                    }\n                });\n\n                if (newProductElementsInViewport.length) {\n                    processedProductElements.push(...newProductElementsInViewport);\n                    pushProductElements(newProductElementsInViewport);\n                }\n            };\n            if (viewItemListEvents.length > 0) {\n                window.addEventListener('DOMContentLoaded', checkNewProductsInViewport);\n                window.addEventListener('scroll', throttle(checkNewProductsInViewport));\n                window.addEventListener('resize', throttle(checkNewProductsInViewport));\n            }\n\n            if (data) {\n                let storedData = null\n\n                data.forEach((item) => {\n                    \/\/ Set category data on product detail page\n                    if (item?.event === 'view_item') {\n                        if (storedData === null) {\n                            storedData = JSON.parse(window.localStorage.getItem(\"product-click-ga4\"));\n                        }\n\n                        item?.ecommerce?.items?.forEach((product) => {\n                            if (storedData?.index) {\n                                product.index = storedData.index\n                            }\n\n                            if (storedData?.item_list_name) {\n                                product.item_list_name = storedData.item_list_name;\n                                product.item_list_id = storedData.item_list_id;\n                            }\n                        })\n                    }\n\n                    if (item?.event !== 'view_item_list') {\n                        globalDatalayer.push(item);\n                    }\n                })\n            }\n        }\n\n        init();\n\n                \/\/ Track product clicks\n        const productsList = [{\"item_list_name\":\"Advanced Crosssells\",\"item_list_id\":\"advanced_crosssells\",\"class_name\":\"[data-upsell-tool-category] a.product-item-link\",\"container_class\":\"[data-list-product-sku]\"}]\n        document.body.addEventListener('click', (event) => {\n            productsList.forEach((list) => {\n                if (list?.class_name) {\n                    const clickTarget = event.target;\n                    const productLink = clickTarget.closest(list?.class_name);\n                    if (productLink) {\n                        productClick(productLink, list)\n                    }\n                }\n            });\n            return;\n        });\n\n        function productClick(element, list) {\n            const container = element.closest(list?.container_class)\n\n            \/\/ Find product url\n            let productUrl = null\n            if (container && container.querySelector('a.product-item-link')) {\n                productUrl = container.querySelector('a.product-item-link').href\n            } else if (container && container.querySelector('a.product-item-photo')) {\n                productUrl = container.querySelector('a.product-item-photo').href\n            } else {\n                productUrl = element.href\n            }\n\n            const priceBox = container.querySelector(\"[data-product-id]\")\n            if (priceBox) {\n                const productId = priceBox.dataset.productId\n\n                const productCollection = globalDatalayer.filter((layer) => layer?.ecommerce?.items).reduce((collection, layer) => collection.concat(...layer.ecommerce.items), [])\n                const product = productCollection.find((product) => product.p_id == productId)\n\n                const productClickData = {\n                    pid: productId,\n                    item_id: product.item_id,\n                    item_list_name: list.item_list_name,\n                    item_list_id: list.item_list_id,\n                    index: product.index\n                }\n                window.localStorage.setItem(\"product-click-ga4\", JSON.stringify(productClickData))\n\n                globalDatalayer.push({\n                    'event': 'select_item',\n                    'ecommerce': {\n                        'items': [product]\n                    },\n                    '_clear': true\n                });\n            }\n        }\n            })();\n<\/script>\n<!-- End Google Analytics 4 for Google Tag Manager by MagePal -->\n"}