Zestaw wannowo-prysznicowy podtynkowy Oltens Molle 36602800, złoty

Napisz opinię >
Nr kat 21612
Zestaw wannowo-prysznicowy podtynkowy Oltens Molle 36602800, złoty
Cena promocyjna
Najniższa cena od dodania do oferty: 999,00 zł
Oblicz raty 0%

RRSO 0% BNP PARIBAS

function initQtyField() { function findPathParam(key) { // get all path pairs after BASE_URL/front_name/action_path/action const baseUrl = (BASE_URL.substring(0, 2) === '//' ? 'http:' : '') + BASE_URL; const baseUrlParts = (new URL(baseUrl)).pathname.replace(/\/$/, '').split('/'); const pathParts = window.location.pathname.split('/').slice(baseUrlParts.length + 3); for (let i = 0; i < pathParts.length; i += 2) { if (pathParts[i] === key && pathParts.length > i) { return pathParts[i + 1]; } } } return { qty: 1, itemId: (new URLSearchParams(window.location.search)).get('id') || findPathParam('id'), productId: '21612', targetQty: null, m2: 0, inputM2Ratio: 0, targetM2: null, finalPrice: 999, regularPrice: 1689.75, hasDiscount: true, discountPercent: 41, init() { this.targetQty = document.getElementById('qty[21612]'); this.targetBnp = document.getElementById('bnpcalc'); if (this.inputM2Ratio > 0) { this.targetM2 = document.getElementById('m2[21612]'); let parseNewValue = this.m2.toLocaleString(undefined, {maximumFractionDigits: 4}); parseNewValue = parseNewValue.replace(',', '.'); this.targetM2.value = parseFloat(parseNewValue); this.m2 = parseFloat(parseNewValue); } this.updateFinalPriceWrapper(); // this.setBnpVisibility(); }, onGetCartData: function onGetCartData(data, $dispatch) { const cart = data && data.data && data.data.cart; if (this.itemId && cart && cart.items) { const cartItem = cart.items.find((item) => { return item.item_id === this.itemId && item.product_id === this.productId; }); if (cartItem && cartItem.qty) { this.qty = cartItem.qty; $dispatch('update-qty-' + this.productId, this.qty); } } }, increaseQty() { let target = this.targetQty; let currentValue = parseFloat(target.value); if (isNaN(currentValue)) { currentValue = 0; } this.updateInputQty(currentValue + 1); }, decreaseQty() { let target = this.targetQty; let currentValue = parseFloat(target.value); if (isNaN(currentValue) || currentValue <= 1) { currentValue = 2; } this.updateInputQty(currentValue - 1); }, updateInputQty(newQty) { this.targetQty.value = newQty; this.qty = newQty; if (this.inputM2Ratio > 0) { let newM2 = newQty * this.inputM2Ratio; let parseNewValue = newM2.toLocaleString(undefined, {maximumFractionDigits: 4}); parseNewValue = parseNewValue.replace(',', '.'); parseNewValue = parseNewValue.replace(/\s/,""); this.targetM2.value = parseFloat(parseNewValue); this.m2 = parseFloat(parseNewValue); } this.updateFinalPriceWrapper(); // this.setBnpVisibility(); }, increaseM2() { let target = this.targetM2; let currentValue = parseFloat(target.value); if (isNaN(currentValue)) { currentValue = 0; } this.updateInputM2(currentValue + 0.01); }, decreaseM2() { let target = this.targetM2; let currentValue = parseFloat(target.value); if (isNaN(currentValue) || currentValue <= 0.01) { currentValue = 0.02; } this.updateInputM2(currentValue - 0.01); }, updateInputM2(newValue) { let parseNewValue = newValue.toLocaleString(undefined, {maximumFractionDigits: 4}); parseNewValue = parseNewValue.replace(',', '.'); this.targetM2.value = parseFloat(parseNewValue); this.qty = Math.ceil(parseNewValue / this.inputM2Ratio); this.updateFinalPriceWrapper(); }, updateFinalPriceWrapper() { let target = document.getElementById('final_product_price_wrapper'); if (target) { target.innerHTML = hyva.formatPrice(this.finalPrice * this.qty); } window.dispatchEvent(new CustomEvent('update-qty-21612', {detail: this.qty})); }, detectQtyChange() { if (this.inputM2Ratio > 0) { let newM2 = this.qty * this.inputM2Ratio; let parseNewValue = newM2.toLocaleString(undefined, {maximumFractionDigits: 4}); parseNewValue = parseNewValue.replace(',', '.'); this.targetM2.value = parseFloat(parseNewValue); this.m2 = parseFloat(parseNewValue); } this.updateFinalPriceWrapper(); // this.setBnpVisibility(); }, detectM2Change() { let parseNewValue = this.m2.toLocaleString(undefined, {maximumFractionDigits: 4}); parseNewValue = parseNewValue.replace(',', '.'); this.targetM2.value = parseFloat(parseNewValue); this.qty = Math.ceil(parseNewValue / this.inputM2Ratio); this.updateFinalPriceWrapper(); // this.setBnpVisibility(); }, updateQty(newVal) { this.qty = newVal; this.updateFinalPriceWrapper(); }, updateM2(newVal) { this.m2 = newVal; this.updateFinalPriceWrapper(); }, setBnpVisibility() { const price = Number(this.targetBnp.getAttribute('data-scart')); const shouldShow = this.qty * price >= 150; this.targetBnp.toggleAttribute('hidden', !shouldShow); } }; }
Usługi Multi Design
więcej niż produkt
Zobacz swoją łazienkę, zanim ją urządzisz PROJEKT ZA 1 ZŁ* Zaplanuj ją z naszym projektantem. Otrzymasz wizualizację, zestawienie materiałów i kosztorys. Sprawdź →
Łazienka od A do Z? Projekt, produkty i kompleksowy remont w jednej usłudze. Sprawdź możliwości dla swojej łazienki!
Urządź całe mieszkanie pod klucz Produkty i kompleksowy remont w jednej usłudze. Drzwi, podłogi, łazienka - razem.
* Cena 1 zł dotyczy wizualizacji. Usługi dostępne w wybranych lokalizacjach.
Wybierz opcje produktu, aby sprawdzić dostępność w sklepach

Dane techniczne

Kolekcja Molle
Kolor Złoty
Materiał Mosiądz
Rodzaj Wannowo-prysznicowe
Kształt Okrągły
Sposób montażu Podtynkowy
Rodzaj wylewki Stała
Dane producenta Oltens Sp. z o. o., ul. Karola Marcinkowskiego 16 63-200 Jarocin Polska [email protected]
Dane dostawcy Oltens Sp. z o.o. ul. Karola Marcinkowskiego 16, 63-200 Jarocin [email protected]

Opinie klientów

Napisz własną recenzję
Napisz opinię o produkcie: Zestaw wannowo-prysznicowy podtynkowy Oltens Molle 36602800, złoty
loader
Ładuję...

check-circle Dodano swoją recenzję do moderacji.