Skip to content

Commit 230a8a1

Browse files
Show 'Contact us' for Enterprise add-on price on platform packages page (#16828)
* Show 'Contact us' for Enterprise add-on price on platform packages page * Tighten Enterprise price override on platform packages page * Match enterprise add-on by type rather than name --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent cc4f07e commit 230a8a1

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

src/pages/platform-packages/index.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,16 @@ export default function PlatformPackages() {
112112
<p className="text-secondary mb-2">{addon.description}</p>
113113
{plan?.flat_rate && (
114114
<div className="flex items-baseline mt-auto">
115-
<strong className="text-lg">
116-
${plan.unit_amount_usd.replace('.00', '')}
117-
</strong>
118-
<span className="text-sm opacity-60 ml-1">/mo</span>
115+
{addon.type === 'enterprise' ? (
116+
<strong className="text-lg">Contact us</strong>
117+
) : (
118+
<>
119+
<strong className="text-lg">
120+
${plan.unit_amount_usd.replace('.00', '')}
121+
</strong>
122+
<span className="text-sm opacity-60 ml-1">/mo</span>
123+
</>
124+
)}
119125
</div>
120126
)}
121127
</div>

0 commit comments

Comments
 (0)