
Kerosene Forced Air Heater - MH-0600-0M10
// select the element with class "product-main" var productMainElement = document.querySelector('.product-main'); // select the element with class "price__current" under the product-main element var priceCurrentElement = productMainElement.querySelector('.price__current'); // select the element with class "money" under the price__current element var moneyElement = priceCurrentElement.querySelector('.money'); // get the text content of the money element var moneyContent = moneyElement.textContent; // remove the dollar sign and commas from the string var cleanString = moneyContent.replace(/\$/g, '').replace(/,/g, ''); // convert the clean string to a number var numberValue = parseFloat(cleanString); // multiply the number by 0.0248 var result = numberValue * 0.0248; // define the base URL var baseUrl = "https://shopnorthbayequipment.com/pages/financing"; // add the sale_price parameter to the URL var