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" id="btn-trial"
disabled disabled
> >
Your Plan
</button> </button>
<ul class="plan-features"> <ul class="plan-features">
<li>ODOO CE hosting</li> <li>ODOO CE hosting</li>
@@ -368,18 +368,16 @@
if (!btn || !card) return; if (!btn || !card) return;
if (idx === currentIdx) { if (idx === currentIdx) {
// Current plan // Current plan green disabled button with expiry date
card.classList.add("current"); card.classList.add("current");
btn.textContent = expiresLabel; btn.textContent = expiresLabel;
btn.disabled = true; btn.disabled = true;
btn.classList.add("is-current-plan"); btn.classList.add("is-current-plan");
} else if (idx < currentIdx) { } else if (idx < currentIdx) {
// Lower tier no downgrade // Lower tier hide entirely
btn.textContent = expiresLabel; card.style.display = "none";
btn.disabled = true;
btn.classList.remove("is-current-plan");
} }
// Higher tiers: leave as "Buy Now" / "Contact Us" (enabled) // Higher tiers: leave as "Buy Now" (enabled)
}); });
} }