Shop

Filters
Clear
Close
Product Categories
Filters
Clear
Filters
Clear
Product Categories
var list = document.querySelectorAll(".d-catalog-product-badge.d-catalog-product-badge-rebate"); for (let x of list) { x.innerHTML = x.innerHTML.replace(/Rebate/g, 'Save'); myArray = x.innerHTML.split(" "); x.innerHTML = myArray[1] + " " + myArray[0]; console.log(x.innerHTML); }
<% console.log(products) %>