Pricing → Pricing rules (/admin/pricing/capacity-rules) controls global pricing rules for new Website purchases. Individual module prices come from Pricing items, and capacity prices from Capacity prices.
Settings
| Field | Meaning |
|---|---|
| Charge for students when any of these modules is selected | Multi-select paid catalogue modules. At least one chosen module triggers the student-capacity charge. Values are module slugs. Default set: Moodle and Student Interface |
| Free storage (GB) | Free storage limit in gigabytes. Required number at least 1; default 50 GB |
| Discount for annual payment (%) | Yearly payment discount, 0–100 inclusive; default 0 |
Choose values and Save. These fields are shared across languages. The selector shows active commercial items and retains previously selected values even if unavailable now. Recheck conditions after changing a module slug.
Calculation
The server calculates in USD:
- Sum monthly prices of all active Core modules and selected paid add-ons.
- Student capacity: charge the matching tier if at least one module in the rule is included. Otherwise price is zero, but a student capacity tier must still exist.
- Employee capacity: always charge the matching tier.
- Storage: free up to the free limit inclusive; above it use the tier covering the entire selected capacity in GB, not merely the excess.
- Monthly payment uses that sum. Yearly payment multiplies it by 12 and applies the percentage. Discount is rounded to a whole dollar and allocated across lines.
Illustrative numbers, not actual prices: Core 40 USD/month, add-on 15, students 20, employees 10 and storage 5. Total 90 USD/month; 1080 yearly, or 972 with 10% discount. If no included Core or add-on triggers student pricing, the illustrative 20 USD/month charge is removed. Storage within the free limit removes the illustrative 5 USD.
Where changes apply
Website Front loads the rules with the catalogue on Pricing and in /pricing/builder. The customer console's /dashboard/purchase redirects to that builder. The displayed estimate is checked against the server calculation before purchase. A change between viewing and checkout can change the recalculated final amount.
A new additional module subscription in the customer console uses the same yearly discount. If the module triggers student pricing and no active subscription already has a positive student-capacity charge, the new purchase includes the corresponding student tier. Recorded amounts of existing subscriptions are not automatically repriced. Changing the free threshold alone does not change an existing organization's purchased capacity.
Access and troubleshooting
Requires Website Admin pricing permission or full access; no separate faculty/profession scope. See Website administrators. If student charges look unexpected, compare included modules, their slugs and rules. If no calculation is available, inspect active ranges. If a percentage is missing, check billing period and whether this is a new purchase.
Implementation references
- ManagePricingRules.php
- BaseSettingsPage.php
- PricingCapacityRules.php
- PricingQuoteService.php
- PricingController.php
- ContentController.php
- 2026_10_12_000001_add_pricing_capacity_rules.php
- 2026_10_12_000002_add_annual_pricing_discount.php
- AdminResource.php
- AdminPermission.php
- pricing-wizard.ts
- module-purchase-pricing.ts
- pricing-wizard.tsx
- page.tsx