{
  "_comment": "Example tenant config for the DW store kit. Placeholders in CAPS. Never put a session id, brand code, password or payment secret in this file. Values are the Ming Apothecary shape with ids replaced.",
  "brand_name": "Example Apothecary",
  "canonical_host": "example.com",
  "other_hosts": [
    "www.example.com"
  ],
  "company_id": "COMPANY_ID_FROM_CRM",
  "contact_email": "store@example.com",
  "currency": "USD",
  "theme": {
    "accent": "#1F4D43",
    "font_body": "system-ui, sans-serif",
    "font_heading": "Georgia, serif"
  },
  "site_chrome": {
    "_comment": "Paste the brand's own <header> and <footer> HTML, or point at a live page to copy them from (build.py takes them from the page at chrome_from).",
    "chrome_from": "/index.html",
    "head_extra": "<link rel=\"stylesheet\" href=\"/assets/css/style.css\">",
    "nav_store_label": "Shop"
  },
  "checkout": {
    "payment_mode": "offline",
    "_payment_mode_values": "offline = take the order, no money moves automatically, the store contacts the customer (works today). provider = only after PayPal is switched on for the platform and the store (paypal_start / paypal_capture still answer 501).",
    "record_pending_payment": false,
    "_record_pending_payment": "true makes checkout.html also call /store/invoice/payment/ create (CARD or PAYPAL). That only records a PENDING row; no charge is made. Leave false unless the owner wants that record.",
    "signup_fields": [
      "first_name",
      "last_name",
      "telephone",
      "shipping"
    ],
    "allow_company_name": false,
    "payment_method": null,
    "_payment_method": "Only used when record_pending_payment is true: \"PAYPAL\" or \"CARD\" (the only customer methods the app accepts).",
    "payment_note": "No payment is taken automatically. Placing the order reserves the items and emails you a confirmation; the store contacts you to arrange payment. Each store can connect its own PayPal account; the payment link on checkout is not on yet."
  },
  "categories": [
    {
      "key": "jing",
      "name": "Jing",
      "position": 0,
      "description": {
        "anchor": "jing",
        "title": "The Jing Collection",
        "subtitle": "Essence",
        "summary": "One or two sentences shown above the category's products."
      },
      "image": {
        "local": "images/categories/jing.jpg",
        "file_path": "store/categories",
        "file_name": "jing.jpg"
      }
    },
    {
      "key": "qi",
      "name": "Qi",
      "position": 1,
      "description": {
        "anchor": "qi",
        "title": "The Qi Collection",
        "subtitle": "Energy",
        "summary": "..."
      },
      "image": {
        "local": "images/categories/qi.jpg",
        "file_path": "store/categories",
        "file_name": "qi.jpg"
      }
    }
  ],
  "products": [
    {
      "name": "Five Treasures",
      "slug": "five-treasures",
      "price": "34.00",
      "variant_name": "Default",
      "stock": 12,
      "_stock": "Whole number = tracked (cart refuses more than this; checkout subtracts it). Omit or null = not tracked (always sellable). 0 = shows Sold out.",
      "active": true,
      "categories": [
        "jing"
      ],
      "tagline": "Short line under the name on cards.",
      "description_html": "<p>Main write-up. HTML allowed, max 20,000 characters.</p>",
      "images": [
        {
          "local": "images/products/five-treasures.jpg",
          "file_path": "store/products",
          "file_name": "five-treasures.jpg",
          "alt": "Five Treasures jar"
        }
      ],
      "extra_variants": []
    },
    {
      "name": "Mountain Breeze",
      "slug": "mountain-breeze",
      "price": "20.00",
      "stock": null,
      "active": true,
      "categories": [
        "qi"
      ],
      "tagline": "...",
      "description_html": "<p>...</p>",
      "images": [
        {
          "local": "images/products/mountain-breeze.jpg",
          "file_path": "store/products",
          "file_name": "mountain-breeze.jpg",
          "alt": "Mountain Breeze tea"
        }
      ],
      "extra_variants": [
        {
          "name": "Large tin",
          "price": "34.00",
          "stock": 5,
          "position": 1
        }
      ]
    }
  ],
  "store_heading": "Shop",
  "store_intro": "One line under the Shop heading.",
  "store_description": "Meta description for /store/.",
  "product_notice_html": "<p class=\"dw-note\">Optional legal or care notice shown under every Add to cart button.</p>"
}
