(Coming Soon)

Compare thousands of DIY and building products
Beldray Carpet Cleaning Solution Price Comparisons | Compare The Build

Beldray Carpet Cleaning Solution

£5.99
Cheapest at Homebase
View Product
Ewbank EWUCS0125 Hydrospot Upholstery Cleaner Price Comparisons | Compare The Build

Ewbank EWUCS0125 Hydrospot Upholstery Cleaner

£80.00
Cheapest at Homebase
View Product
Vax Dual Power Carpet Washer 800W Price Comparisons | Compare The Build

Vax Dual Power Carpet Washer 800W

£129.00
Cheapest at Homebase
View Product
1001 Carpet Cleaning Mousse 350ml Price Comparisons | Compare The Build

1001 Carpet Cleaning Mousse 350ml

£2.99
Cheapest at Homebase
View Product
HydroC1 Carpet Cleaner Black/Red Price Comparisons | Compare The Build

HydroC1 Carpet Cleaner Black/Red

£99.95
Cheapest at City Electrical Factors
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(); } -->