plans. It holds the active plans, sorted by price ascending, each serialized with everything a pricing table needs.
What a plan contains
A feature line entered as
-No API access becomes { title: 'No API access', is_included: false }, so you can render excluded features with a different marker.
A pricing section
sections/pricing.twig
snippets/plan.twig
Formatting money and credits
Two custom elements do the formatting for you:
The
currency global gives you what they need:
Grouping by billing cycle
Most pricing pages separate recurring plans from one-time packs:Feature rows from plan capabilities
plan.config mirrors what the plan grants, so a comparison table can be generated rather than hand-written:
Checkout links
user.