Docs Plan management Custom fields

Plan custom fields

Custom fields let you extend your plans with additional data that supports your unique pricing and marketing strategies. Whether you’re highlighting recommended plans, tracking promotional periods, or managing specialized plan attributes, custom fields give you the flexibility to tailor plans to your exact needs.

Understanding plan custom fields

Plan custom fields serve multiple purposes:

  • Tag specific plans for special treatment in your app
  • Store additional metadata about plans
  • Enable targeted plan recommendations

Each custom field you create becomes available across all plans in your app, letting you maintain consistent data structures while varying values between plans.

Creating custom fields

To add custom fields to your plans:

  1. Navigate to Your App in the left menu
  2. Select Plans
  3. Click Custom fields in the sub-navigation
  4. Hit Add custom field
Custom plan field button

When creating your field, you’ll configure:

  • Name: What you’ll call this field (e.g., “Recommended”)
  • Type: The kind of data it holds (text, number, checkbox, etc.)
  • Default value: What value new plans should start with
  • Description: Optional context about how the field should be used
Create custom plan field

Common use cases

Here are some popular ways to use plan custom fields:

Plan recommendations

Create a “Recommended” boolean field to highlight specific plans:

  1. Set field name to “Recommended”
  2. Choose checkbox type
  3. Set default to false
  4. Toggle true for plans you want to feature

Promotional tracking

Track special pricing periods with date fields:

  1. Create “Promotion Start” and “Promotion End” date fields
  2. Set dates on relevant plans
  3. Use these in your app to show promotional pricing

Feature beta testing

Mark plans that include beta features:

  1. Add a “Beta Features” checkbox field
  2. Enable it for plans testing new capabilities
  3. Use this to show beta badges or documentation

Using custom fields in your app

Once configured, your custom fields appear in plan settings:

View custom plan field

Access these values through Mantle’s API to:

  • Customize plan displays
  • Power dynamic pricing pages
  • Drive promotional messaging
  • Support advanced pricing logic

Remember: Custom fields provide flexibility in how you present and manage plans, but they should be used thoughtfully to maintain clear pricing structures for your customers.