(Coming Soon)

Compare thousands of DIY and building products
Black Linear Companion Set H73cm W27cm Price Comparisons | Compare The Build

Black Linear Companion Set H73cm W27cm

£101.97
Cheapest at B&Q
View Product
JVL Quantock 11-307 Black Fire Guard Price Comparisons | Compare The Build

JVL Quantock 11-307 Black Fire Guard

£14.99
Cheapest at B&Q
View Product
5Pcs Fireplace Companion Set Black - FIRE89 Price Comparisons | Compare The Build

5Pcs Fireplace Companion Set Black - FIRE89

£24.90
Cheapest at B&Q
View Product
Wooden Handle Round Companion Set H73cm W24cm Price Comparisons | Compare The Build

Wooden Handle Round Companion Set H73cm W24cm

£114.73
Cheapest at B&Q
View Product
Antique Pewter Crook Handled Hearth Tidy Price Comparisons | Compare The Build

Antique Pewter Crook Handled Hearth Tidy

£30.49
Cheapest at B&Q
View Product
JVL Bowland Fireside Coal Hood Price Comparisons | Compare The Build

JVL Bowland Fireside Coal Hood

£34.99
Cheapest at B&Q
View Product
Product Image
${product._source.title}
£ ${product._source.price ? product._source.price.toFixed(2) : 0}
`).join(''); searchBox.html(productCards); } else { searchBox.html('

No products found.

'); } } function renderSuggestions(suggestions) { let suggestionBox = $('.suggestion-links'); suggestionBox.empty(); if (suggestions?.length) { let suggestionLinks = suggestions.slice(0, 5).map(suggestion => ` ${suggestion} `).join(''); suggestionBox.html(suggestionLinks); } else { suggestionBox.html('

No suggestions found.

'); // suggestionBox.html(''); } } function productURL(product) { let slug = product._source.title.replace(/\//g, '-').toLowerCase().split(' ').join('-'); // Get base URL fr om a hidden Blade variable or directly hardcode if known let baseUrl = "https://test.comparethebuild.com/product"; return `${baseUrl}/${slug}/${product._id}`; } // Use event delegation to handle dynamically created links $(document).on('click', '.suggestion-link', function() { let productName = $(this).data('title'); $('#search-bar').val(productName); $('#search-child-form').submit(); $('.search-dropdown').hide(); // Hides the search box }); }); function searchFormSubmit() { $('#search-child-form').submit(); } -->