Funtopia
Funtopia

$395.00
let priceSelect = document.querySelectorAll(“.io_item_list”); let checkList = [[“5 in 1 Sports Combo”, 35], [“Castle Combo”, 40], [“Dalmatian Combo”, 40], [“Princess Combo”, 40], [“Sports Combo”, 40], [“Tiger Combo”, 40], [“Dual Lane Castle Combo”, 40], [“Dual Lane Hot Air Balloon Combo”, 40], [“Dual Lane Princess Combo”, 40], [“Dual Lane Sports Combo”, 40], [“Dual Lane Tropical Combo”, 40], [“Frozen 5 in 1 Combo”, 45], [“Justice League 5 in 1 Combo”, 45], [“Giant Castle Combo”, 45], [“Pirate Ship Combo”, 40], [“Toddler Town”, 40], [“Funtopia”, 55], [“Thrill Zone”, 55]]; for (let i of priceSelect) { let psText = i.querySelector(“a”).innerText; let psP = i.querySelector(“#iocp1”); for (let j of checkList) { if (psText == j[0]) { psP.innerText = `$${Number(psP.innerText.substring(1, psP.innerText.length)) – j[1]}.00`; } } }