Fix Fee-Text Values

This commit is contained in:
Tony Volpe
2024-12-02 14:27:31 -05:00
parent b755d1c64d
commit 8cdfd97703

View File

@@ -166,11 +166,11 @@ for (i = 0; i < l; i++) {
if (s.options[k].innerHTML == this.innerHTML) { if (s.options[k].innerHTML == this.innerHTML) {
s.selectedIndex = k; s.selectedIndex = k;
h.innerHTML = this.innerHTML; h.innerHTML = this.innerHTML;
if (this.innerHTML === "Annually | $34.95" || this.innerHTML === "Annually | $27.95" || this.innerHTML === "Annually | $44.95" || this.innerHTML === "Annually | $39.95") { if (this.innerHTML === "Annually | $19.95" || this.innerHTML === "Annually | $29.95" || this.innerHTML === "Annually | $34.95" || this.innerHTML === "Annually | $39.95") {
document.getElementById("selected-text").innerHTML = "Includes free shipping and lockbox! "; document.getElementById("selected-text").innerHTML = "Includes free shipping and lockbox! ";
} else if (this.innerHTML === "Semi-Annually | $49.95" || this.innerHTML === "Semi-Annually | $39.95" || this.innerHTML === "Semi-Annually | $29.95" || this.innerHTML === "Semi-Annually | $44.95" || this.innerHTML === "Semi-Annually | $37.95") { } else if (this.innerHTML === "Semi-Annually | $24.95" || this.innerHTML === "Semi-Annually | $34.95" || this.innerHTML === "Semi-Annually | $44.95" || this.innerHTML === "Semi-Annually | $37.95" || this.innerHTML === "Semi-Annually | $37.95") {
document.getElementById("selected-text").innerHTML = "Includes free shipping!"; document.getElementById("selected-text").innerHTML = "Includes free shipping!";
} else if (this.innerHTML === "Monthly | $49.95" || this.innerHTML === "Monthly | $39.95" || this.innerHTML === "Monthly | $29.95" || this.innerHTML === "Monthly | $44.95") { } else if (this.innerHTML === "Monthly | $27.95" || this.innerHTML === "Monthly | $37.95" || this.innerHTML === "Monthly | $39.95" || this.innerHTML === "Monthly | $47.95" || this.innerHTML === "Monthly | $34.95" ) {
document.getElementById("selected-text").innerHTML = ""; document.getElementById("selected-text").innerHTML = "";
} }