> ## Documentation Index
> Fetch the complete documentation index at: https://docs.areawp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Services & Templates

> Browse and deploy application templates — the self-service catalog for client WordPress and app deployments.

<Info>
  **Path:** Services (`/services`) → Templates (`/templates`) — Admin only; visible to users in SaaS/WaaS mode based on plan

  Services is the catalog of deployable application templates. In WaaS mode, it also powers the client-facing marketplace.
</Info>

## Template Catalog

The Templates page shows all available app templates as a browsable grid. Each template card displays:

* Screenshot or icon
* Type and category badges
* Name and author
* Short description
* Version
* Price (free or paid)
* **Install** / **Buy** / **Renew** button

### Template Categories

Filter templates by type:

<CardGroup cols={2}>
  <Card title="WordPress" icon="globe" color="#6366f1">
    Pre-configured WordPress with plugins, themes, and starter content
  </Card>

  <Card title="E-commerce" icon="cart-shopping" color="#10b981">
    WooCommerce or similar stacks ready to deploy
  </Card>

  <Card title="PHP Applications" icon="code" color="#f59e0b">
    Laravel, Symfony, or plain PHP apps
  </Card>

  <Card title="Static Sites" icon="file" color="#8b5cf6">
    HTML/CSS/JS sites served via Nginx
  </Card>
</CardGroup>

***

## Browse vs. Installed Tabs

**Browse** — full template catalog with search and category filter.

**Installed** — two sections:

* **Pending** — extensions awaiting approval with their approval status
* **Active** — installed extensions showing price, renewal type, expiry date, and action buttons

***

## Installing a Template

1. Find the template in the Browse tab
2. Click **Install** (free) or **Buy** (paid)
3. For paid templates, a **Payment Modal** opens — select payment method and (if it's a WordPress plugin/theme) the target site
4. After payment, the extension appears in the **Installed** tab

***

## Managing Installed Templates

From the **Installed** tab:

| Action                  | Description                                     |
| ----------------------- | ----------------------------------------------- |
| **Reinstall**           | Re-install a free extension                     |
| **Uninstall**           | Remove the extension                            |
| **Renew**               | Renew a subscription-based extension            |
| **Cancel subscription** | Stop monthly billing (revocable before renewal) |

***

## Admin — Submitting a Template

Admins can add custom templates to the catalog:

1. Click **Submit Plugin/Theme** (top right)
2. Fill in name, description, category, version, price
3. Upload the ZIP file
4. Set visibility (public / private)
5. Submit — the template appears in the Browse tab immediately

Use **Edit** and **Delete** to update or remove your custom templates.

***

## Platform Mode Notes

<Tabs>
  <Tab title="SaaS Mode">
    Templates visible to users are controlled per pricing plan. Admins can restrict which templates each plan can access under **Administration → Pricing Plans → Features**.
  </Tab>

  <Tab title="WaaS Mode">
    The full template marketplace is available to clients. They deploy templates directly from their portal as part of their subscription.
  </Tab>
</Tabs>
