Pipe Component -- Please Select -- Straight Pipe (500mm) + WAS £58.33 NOW £35.00 SAVE £23.33
document.addEventListener("DOMContentLoaded", function () {
let tries = 0;
const waitInterval = setInterval(function () {
const priceEl = document.querySelector('.price-wrapper .price');
const wasEl = document.querySelector('.wasprice s');
if (priceEl && wasEl) {
clearInterval(waitInterval);
let lastPrice = '';
function updateWasPrice(source = 'manual') {
const freshPrice = document.querySelector('.price-wrapper .price');
const freshWas = document.querySelector('.wasprice s');
if (!freshPrice || !freshWas) {
return;
}
let rawText = freshPrice.textContent.trim();
let nowPrice = parseFloat(
rawText.replace(/[^0-9.]/g, '')
);
if (isNaN(nowPrice)) {
return;
}
if (lastPrice == nowPrice) {
return;
}
lastPrice = nowPrice;
let wasPrice = (nowPrice * 1.666).toFixed(2);
freshWas.textContent = '£' + wasPrice;
}
updateWasPrice('first load');
const observer = new MutationObserver(function (mutations) {
updateWasPrice('observer');
});
observer.observe(priceEl, {
childList: true,
subtree: true,
characterData: true
});
setInterval(function () {
updateWasPrice('polling');
}, 300);
}
tries++;
if (tries >= 150) {
clearInterval(waitInterval);
}
}, 100);
}); Straight Pipe (1000mm) + WAS £75.00 NOW £45.00 SAVE £30.00
document.addEventListener("DOMContentLoaded", function () {
let tries = 0;
const waitInterval = setInterval(function () {
const priceEl = document.querySelector('.price-wrapper .price');
const wasEl = document.querySelector('.wasprice s');
if (priceEl && wasEl) {
clearInterval(waitInterval);
let lastPrice = '';
function updateWasPrice(source = 'manual') {
const freshPrice = document.querySelector('.price-wrapper .price');
const freshWas = document.querySelector('.wasprice s');
if (!freshPrice || !freshWas) {
return;
}
let rawText = freshPrice.textContent.trim();
let nowPrice = parseFloat(
rawText.replace(/[^0-9.]/g, '')
);
if (isNaN(nowPrice)) {
return;
}
if (lastPrice == nowPrice) {
return;
}
lastPrice = nowPrice;
let wasPrice = (nowPrice * 1.666).toFixed(2);
freshWas.textContent = '£' + wasPrice;
}
updateWasPrice('first load');
const observer = new MutationObserver(function (mutations) {
updateWasPrice('observer');
});
observer.observe(priceEl, {
childList: true,
subtree: true,
characterData: true
});
setInterval(function () {
updateWasPrice('polling');
}, 300);
}
tries++;
if (tries >= 150) {
clearInterval(waitInterval);
}
}, 100);
}); 90 Elbow Pipe + WAS £58.33 NOW £35.00 SAVE £23.33
document.addEventListener("DOMContentLoaded", function () {
let tries = 0;
const waitInterval = setInterval(function () {
const priceEl = document.querySelector('.price-wrapper .price');
const wasEl = document.querySelector('.wasprice s');
if (priceEl && wasEl) {
clearInterval(waitInterval);
let lastPrice = '';
function updateWasPrice(source = 'manual') {
const freshPrice = document.querySelector('.price-wrapper .price');
const freshWas = document.querySelector('.wasprice s');
if (!freshPrice || !freshWas) {
return;
}
let rawText = freshPrice.textContent.trim();
let nowPrice = parseFloat(
rawText.replace(/[^0-9.]/g, '')
);
if (isNaN(nowPrice)) {
return;
}
if (lastPrice == nowPrice) {
return;
}
lastPrice = nowPrice;
let wasPrice = (nowPrice * 1.666).toFixed(2);
freshWas.textContent = '£' + wasPrice;
}
updateWasPrice('first load');
const observer = new MutationObserver(function (mutations) {
updateWasPrice('observer');
});
observer.observe(priceEl, {
childList: true,
subtree: true,
characterData: true
});
setInterval(function () {
updateWasPrice('polling');
}, 300);
}
tries++;
if (tries >= 150) {
clearInterval(waitInterval);
}
}, 100);
}); 45/135 Elbow Pipe + WAS £78.33 NOW £47.00 SAVE £31.33
document.addEventListener("DOMContentLoaded", function () {
let tries = 0;
const waitInterval = setInterval(function () {
const priceEl = document.querySelector('.price-wrapper .price');
const wasEl = document.querySelector('.wasprice s');
if (priceEl && wasEl) {
clearInterval(waitInterval);
let lastPrice = '';
function updateWasPrice(source = 'manual') {
const freshPrice = document.querySelector('.price-wrapper .price');
const freshWas = document.querySelector('.wasprice s');
if (!freshPrice || !freshWas) {
return;
}
let rawText = freshPrice.textContent.trim();
let nowPrice = parseFloat(
rawText.replace(/[^0-9.]/g, '')
);
if (isNaN(nowPrice)) {
return;
}
if (lastPrice == nowPrice) {
return;
}
lastPrice = nowPrice;
let wasPrice = (nowPrice * 1.666).toFixed(2);
freshWas.textContent = '£' + wasPrice;
}
updateWasPrice('first load');
const observer = new MutationObserver(function (mutations) {
updateWasPrice('observer');
});
observer.observe(priceEl, {
childList: true,
subtree: true,
characterData: true
});
setInterval(function () {
updateWasPrice('polling');
}, 300);
}
tries++;
if (tries >= 150) {
clearInterval(waitInterval);
}
}, 100);
}); Wall Bracket (Adjustable) + WAS £8.33 NOW £5.00 SAVE £3.33
document.addEventListener("DOMContentLoaded", function () {
let tries = 0;
const waitInterval = setInterval(function () {
const priceEl = document.querySelector('.price-wrapper .price');
const wasEl = document.querySelector('.wasprice s');
if (priceEl && wasEl) {
clearInterval(waitInterval);
let lastPrice = '';
function updateWasPrice(source = 'manual') {
const freshPrice = document.querySelector('.price-wrapper .price');
const freshWas = document.querySelector('.wasprice s');
if (!freshPrice || !freshWas) {
return;
}
let rawText = freshPrice.textContent.trim();
let nowPrice = parseFloat(
rawText.replace(/[^0-9.]/g, '')
);
if (isNaN(nowPrice)) {
return;
}
if (lastPrice == nowPrice) {
return;
}
lastPrice = nowPrice;
let wasPrice = (nowPrice * 1.666).toFixed(2);
freshWas.textContent = '£' + wasPrice;
}
updateWasPrice('first load');
const observer = new MutationObserver(function (mutations) {
updateWasPrice('observer');
});
observer.observe(priceEl, {
childList: true,
subtree: true,
characterData: true
});
setInterval(function () {
updateWasPrice('polling');
}, 300);
}
tries++;
if (tries >= 150) {
clearInterval(waitInterval);
}
}, 100);
}); Rosette Coller Adapter (to 8" Flue Liner) + WAS £50.00 NOW £30.00 SAVE £20.00
document.addEventListener("DOMContentLoaded", function () {
let tries = 0;
const waitInterval = setInterval(function () {
const priceEl = document.querySelector('.price-wrapper .price');
const wasEl = document.querySelector('.wasprice s');
if (priceEl && wasEl) {
clearInterval(waitInterval);
let lastPrice = '';
function updateWasPrice(source = 'manual') {
const freshPrice = document.querySelector('.price-wrapper .price');
const freshWas = document.querySelector('.wasprice s');
if (!freshPrice || !freshWas) {
return;
}
let rawText = freshPrice.textContent.trim();
let nowPrice = parseFloat(
rawText.replace(/[^0-9.]/g, '')
);
if (isNaN(nowPrice)) {
return;
}
if (lastPrice == nowPrice) {
return;
}
lastPrice = nowPrice;
let wasPrice = (nowPrice * 1.666).toFixed(2);
freshWas.textContent = '£' + wasPrice;
}
updateWasPrice('first load');
const observer = new MutationObserver(function (mutations) {
updateWasPrice('observer');
});
observer.observe(priceEl, {
childList: true,
subtree: true,
characterData: true
});
setInterval(function () {
updateWasPrice('polling');
}, 300);
}
tries++;
if (tries >= 150) {
clearInterval(waitInterval);
}
}, 100);
});