" + " " + prcntg1 + "%";
price_place.after(disCount)
}
const DivContainer = document.getElementsByClassName("product-title");
const DavContainer = document.getElementsByClassName("product-section price-section");
if (DivContainer.length !== 0) {
function AddNewHome() {
const newDiv = document.createElement("div");
newDiv.innerHTML = ''
DivContainer[i].appendChild(newDiv)
}
for (i = 0; i < DivContainer.length; i++) {
AddNewHome();
}
}
if (DavContainer.length !== 0) {
function insertAfter(referenceNode, newNode) {
referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
}
const newDav = document.createElement("div");
newDav.setAttribute("class", "rvw_stars")
newDav.innerHTML = ''
insertAfter(DavContainer[0], newDav)
}