Update upsell.html

This commit is contained in:
Your Name
2026-04-11 07:25:14 -03:00
parent a7db4ebe67
commit 66bffcfcbc
+5 -7
View File
@@ -202,7 +202,7 @@
id="btn-trial"
disabled
>
Your Plan
</button>
<ul class="plan-features">
<li>ODOO CE hosting</li>
@@ -368,18 +368,16 @@
if (!btn || !card) return;
if (idx === currentIdx) {
// Current plan
// Current plan green disabled button with expiry date
card.classList.add("current");
btn.textContent = expiresLabel;
btn.disabled = true;
btn.classList.add("is-current-plan");
} else if (idx < currentIdx) {
// Lower tier no downgrade
btn.textContent = expiresLabel;
btn.disabled = true;
btn.classList.remove("is-current-plan");
// Lower tier hide entirely
card.style.display = "none";
}
// Higher tiers: leave as "Buy Now" / "Contact Us" (enabled)
// Higher tiers: leave as "Buy Now" (enabled)
});
}