Skip to main content

Legal Documents

Manage legal documents such as Terms of Service, Privacy Policy, Return Policy, and Cookie Policy. These are served to the storefront and shown during registration, checkout, and on dedicated pages.

Managing Documents

Navigate to Content → Legal Documents.

Creating a Document

FieldDescription
TitleDocument title (localizable)
SlugURL identifier (e.g., terms-of-service)
TypeTermsOfService, PrivacyPolicy, ReturnPolicy, CookiePolicy, etc.
ContentRich text content (HTML, localizable)
VersionVersion number (increment when making significant changes)
Effective DateWhen this version takes effect

Placeholders

Legal documents support template placeholders that are automatically replaced with store-specific values:

PlaceholderReplaced With
{{CompanyName}}Store's company name
{{StoreName}}Store name
{{StoreUrl}}Store URL
{{ContactEmail}}Store contact email

This allows a single document template to work across multiple stores.

Localization

Document title and content are localizable. Switch the language selector to create translations for each language.

When you update a legal document and increment the version:

  • The old version is preserved
  • Customers who accepted the old version may need to re-accept the new version
  • The consent tracking system records which version each customer accepted

Storefront Integration

Documents are served via:

GET /api/storefront/documents/{slug}

Common integration points:

  • Registration form — checkbox linking to Terms of Service
  • Checkout — acceptance of Terms before placing order
  • Footer — links to Privacy Policy, Terms, etc.
  • Cookie banner — link to Cookie Policy
tip

Use the versioning system diligently. When regulations change (e.g., GDPR updates), increment the version and update the effective date. The consent tracking system will know which customers need to re-accept.