Saving a site as a marketplace template

Any Builder site you've created can be saved as a template — a self-contained snapshot of your theme, brand colors, navigation, footer, and pages. Other orgs can install your template from the Module Marketplace and start a new site from it in one click.

To save a site as a template:
1. Builder → open the site you want to publish
2. Click the "Save as Template" action in the site header
3. Fill in:
• Name and description — this is what appears on the marketplace card
• Category — picks the section your template lives under (e.g. Restaurant, Lodging, Services, Portfolio)
• Tags — comma-separated keywords to help discovery
• Visibility — Private (only your org sees it) or Public (anyone can install)
• Pricing — Free, or Paid with a monthly subscription price
4. Save

What gets snapshotted:
• Theme tokens (font choices, brand colors, content width, page background)
• All published pages and their blocks
• Each page's SEO title, description, and a stable templatePageId so future versions can update the right page on inheriting sites without clobbering local edits

Updating a template:
• Edit the source site like normal, then Save as Template again — the version bumps and every inheriting site receives the update via a Cloud Function fan-out
• Pages added/removed in the source are added/removed on inheriting sites; pages an inheriting site authored on its own (no templatePageId) are left alone

Paid templates:
• Subscribers go through Stripe Checkout; subscription becomes "active" when payment succeeds
• Cancellations stop renewal but don't yank the site — the inheriting org keeps the site, just stops receiving updates

Before deleting a template, Turtini detaches every site that inherits it (clears the link + the "Inherit updates" toggle) so no inheriting site is broken.