General
Marketing
Pricing Page
Learn how to customize the pricing page and integrate it with your billing configuration.
The pricing page (/pricing) displays your subscription plans and pricing information. It's integrated with your billing configuration and automatically displays plans from config/billing.config.ts.
Page Structure
The pricing page is located at app/pricing/page.tsx and includes:
- Pricing Hero Section - Headline and description for the pricing page
- Pricing Section - Displays all plans from your billing configuration
- FAQ Section - Frequently asked questions about pricing
Integration with Billing Config
The pricing page automatically reads plans from config/billing.config.ts. Plans are displayed based on:
- Plan visibility - Plans with
hidden: trueare not shown - Plan order - Plans are displayed in the order they appear in the config
- Recommended plans - Plans with
recommended: trueare highlighted - Enterprise plans - Plans with
isEnterprise: trueshow a "Contact Sales" button
Customization
Update Pricing Content
Edit the PricingHeroSection component:
components/sections/pricing-hero-section.tsx
export function PricingHeroSection(): React.JSX.Element {
return (
<section>
<h1>Choose Your Plan</h1>
<p>Select the perfect plan for your needs</p>
</section>
);
}Customize Plan Display
The PricingSection component automatically renders plans from your billing config. To customize how plans are displayed, edit:
components/sections/pricing-section.tsx
// Customize plan card styling, features display, etc.Update FAQ
Modify the FAQ section in app/pricing/page.tsx:
app/pricing/page.tsx
const faqSchema = {
'@context': 'https://schema.org',
'@type': 'FAQPage',
mainEntity: [
{
'@type': 'Question',
name: 'Your question?',
acceptedAnswer: {
'@type': 'Answer',
text: 'Your answer.'
}
}
]
};SEO
The pricing page includes structured data (JSON-LD) for:
- Product schema
- Breadcrumb schema
- FAQ schema
Best Practices
- Clear pricing - Make prices and features easy to understand
- Highlight recommended plan - Use the
recommendedflag to guide users - Show value - Include feature comparisons and benefits
- Mobile friendly - Ensure pricing tables work on all screen sizes
- Clear CTAs - Use action-oriented button text