Subscription Plans
1. Plan Overview
Plans define the public-facing subscription offerings with pricing, packages, and add-ons.
Basic Fields
- Name - Plan name (required, tracked, translatable)
- URL String - URL-friendly identifier, e.g.,
starter-plan(required, unique) - Plan URL - Full URL path, computed as
/saas/plans/<url_string> - Description - Plan description HTML (translatable)
- Image - Plan image/logo (attachment)
- Badge Text - Promotional badge, e.g.,
Popular - Features HTML - Features list for display (translatable)
- Sequence - Display ordering (default: 10)
- Published - Whether visible on the website (default: False, tracked)
- Active - Archive toggle (default: True)
- Color - Color picker value
- Product - Linked product template for sale orders (tracked)
- Allowed Domain - Base domain for subscriptions, e.g.,
example.com(required) - Subscription Type - Deployment type:
none(extended by Docker/DB Filter modules) - Auto Create Subscription - Auto-create after payment (default: True)
- Currency - Pricing currency (default: company currency)
- Database Template - Pre-built database to restore (optional)
2. Billing Periods
Each plan defines which billing periods are available.
- Period - Billing cycle (required):
Monthly,Quarterly(3 months),Semi-Annual(6 months),Yearly
- Sequence - Display order (default: 10)
- Is Default - Pre-selected period on the website (default: False)
3. Package Lines
Packages available within a plan, with custom display and pricing.
- Package - Reference to a subscription package (required)
- Custom Display Name - Override name for the website (translatable)
- Description - Short description (translatable)
- Image - Package image (attachment)
- Icon - Font Awesome icon class
- Sequence - Display order (default: 10)
- Pricing - Price per billing period (One2many)
Package Pricing
- Period - Billing period (required)
- Price - Package price for that period (required)
4. Add-ons
Configurable extras like additional storage, users, or stages with step-based pricing.
- Name - Add-on name (translatable)
- Add-on Type - Category:
storage,users,stages(extended by Docker withworkers) - Included Value - Amount included in base price (default: 0)
- Step Value - Increment step (default: 1)
- Min Value - Minimum configurable value (default: 0)
- Max Value - Maximum configurable value (default: 100)
- Unit Label - Display unit, e.g.,
GB,Users - Icon - Font Awesome icon class
- Sequence - Display order (default: 10)
- Pricing - Price per step per billing period (One2many)
Add-on Pricing
- Period - Billing period (required)
- Price Per Step - Cost for each step above the included value (required)
Pricing Calculation
Add-on cost = max(0, quantity - included_value) / step_value * price_per_step. Only the portion above the included value is charged.
5. Publishing Validation
Before a plan can be published, the system validates:
- A product is linked
- An allowed domain is set
- At least one package line exists
- At least one billing period exists
- All package lines have pricing for all available periods
- All add-ons have pricing for all available periods