(Coming Soon)

Compare thousands of DIY and building products
Hy Grand Prix Head Collar Hot Orange (Full) Price Comparisons | Compare The Build

Hy Grand Prix Head Collar Hot Orange (Full)

£26.64
Cheapest at B&Q
View Product
Oggi's Oven Cake Mix Apple - 150g Price Comparisons | Compare The Build

Oggi's Oven Cake Mix Apple - 150g

£5.39
Cheapest at B&Q
View Product
Sandringham 100% Cotton Jacquard Towel Price Comparisons | Compare The Build

Sandringham 100% Cotton Jacquard Towel

£26.98
Cheapest at B&Q
View Product
Wheelchair Scales & A1-12 Indicator Price Comparisons | Compare The Build

Wheelchair Scales & A1-12 Indicator

£659.99
Cheapest at B&Q
View Product
Towel City Gym Towel Red (One Size) Price Comparisons | Compare The Build

Towel City Gym Towel Red (One Size)

£9.17
Cheapest at B&Q
View Product
Lilac Border Stone Non Slip Bath Mat Price Comparisons | Compare The Build

Lilac Border Stone Non Slip Bath Mat

£23.99
Cheapest at B&Q
View Product
Bellissimo Home Savoy Heavyweight Bath Mat Price Comparisons | Compare The Build

Bellissimo Home Savoy Heavyweight Bath Mat

£14.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://ww.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(); } -->