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

# Load and Remove the Site Store Pro Demo Store Content

> Seed demo products, brands, and categories to explore Site Store Pro features. Learn to load and purge all demo content before going live.

The Demo Store gives you a fully populated Site Store Pro installation to explore — with real product types, variants, images, inventory records, cross-selling relationships, and event data — without you having to create anything manually. When you're ready to go live, a single button purges every trace of demo content instantly.

***

## What the Demo Store Includes

### Brands

| Brand           |
| --------------- |
| Prestige Design |
| DeMarco         |
| Old Heritage    |
| Bella Luna      |
| Excelsior       |

### Categories

| Category             | Type                          |
| -------------------- | ----------------------------- |
| Custom Jewelry       | Top-level category            |
| ↳ Rings              | Subcategory of Custom Jewelry |
| ↳ Bracelets          | Subcategory of Custom Jewelry |
| Watches              | Top-level category            |
| Downloads & Media    | Top-level category            |
| Gifts & Apparel      | Top-level category            |
| Service Items        | Top-level category            |
| Workshops & Seminars | Top-level category            |

### Products (27)

### Additional Demo Data

Beyond products, brands, and categories, the seeder also populates:

<CardGroup cols={2}>
  <Card title="Inventory Records" icon="warehouse">
    Stock levels are created for every product variant, so inventory tracking works out of the box during your demo exploration.
  </Card>

  <Card title="Event Records" icon="calendar">
    Each event-type variant (seminars, workshops) includes a start time, end time, location, and a colour label for visual scheduling.
  </Card>

  <Card title="Product Attributes" icon="list">
    Multi-variant products (apparel, events) include properly configured product attributes (e.g. colour, size) to demonstrate the variant selection UI.
  </Card>

  <Card title="CDN Product Images" icon="image">
    All products have professional images served directly from the Site Store Pro demo CDN. No local image files are required.

    ```text theme={null}
    https://d23w3zagfzgqcb.cloudfront.net/demo/
    ```
  </Card>

  <Card title="Cross-Selling Relationships" icon="arrow-right-arrow-left">
    **Cross-selling relationships** are pre-configured across the product catalogue, demonstrating the "You may also like" feature on product pages.
  </Card>

  <Card title="Home Page Slideshow" icon="arrow-right-arrow-left">
    **SLideshow with 2 demo slides** included slideshow with sample slides.
  </Card>

  <Card title="Sample Testimonials" icon="arrow-right-arrow-left">
    **4 Fake Testimonials** including translations.
  </Card>
</CardGroup>

***

## Default Login Credentials

The base database seed (run during installation) creates a single admin account:

| Role  | Email                 | Password           |
| ----- | --------------------- | ------------------ |
| Admin | `admin@support.local` | `SampleUser12345#` |

<Warning>
  These are shared demo credentials published in this documentation. **Change all default passwords before making your store publicly accessible.** Go to **Admin → Users**, edit each account, and set a strong, unique password.
</Warning>

***

## How to Seed the Demo Store

<Steps>
  <Step title="Ensure Migrations Are Up to Date">
    If you haven't already run your database migrations, do so now. If you ran `migrate:fresh --seed` during installation, you can skip this step.

    ```bash theme={null}
    php artisan migrate
    ```
  </Step>

  <Step title="Run the Demo Store Seeder">
    ```bash theme={null}
    php artisan db:seed --class=DemoStoreSeeder
    ```

    The seeder will insert all 27 products, 5 brands, 10 categories, inventory records, event records, product attributes, CDN image references, and cross-selling relationships. It will also activate cms page id #13 which is a redirect after order example page that is seeded from the base install but not active unless the demo data is present.
  </Step>

  <Step title="Log in and Explore">
    Navigate to your Site Store Pro installation and log in with the admin credentials:

    | Field    | Value                 |
    | -------- | --------------------- |
    | URL      | `/admin`              |
    | Email    | `admin@support.local` |
    | Password | `SampleUser12345#`    |
  </Step>
</Steps>

<Note>
  The `DemoStoreSeeder` is **fully idempotent** — it is safe to run multiple times. On each run, it checks the `seo_slug` of each product before inserting; any product that already exists is silently skipped. You will never end up with duplicate demo products.
</Note>

<Tip>
  The seeder does **not** copy any image files to your server. All product images are referenced as CDN URLs pointing to `https://d23w3zagfzgqcb.cloudfront.net`. Your store needs an internet connection for images to display, but no local storage space is consumed.
</Tip>

***

## How to Purge Demo Content

When you are ready to go live, purge all demo data through the admin panel. No command line access is required.

<Steps>
  <Step title="Log in to the Admin Panel">
    Log in at `/admin` using your administrator account.
  </Step>

  <Step title="Navigate to Settings">
    In the admin sidebar, click **Settings**.
  </Step>

  <Step title="Locate the Demo Store Banner">
    If demo content has been seeded, an **amber banner** reading **"Demo Store Content is Active"** appears at the top of the Settings page.

    <Note>
      If you have never run `DemoStoreSeeder`, this banner is completely invisible. The Purge button does not appear on stores with no demo content.
    </Note>
  </Step>

  <Step title="Click 'Purge Demo Content'">
    Inside the amber banner, click the red **Purge Demo Content** button.
  </Step>

  <Step title="Confirm the Deletion">
    A confirmation modal will appear listing everything that will be permanently deleted:

    * All 27 demo products and their variants
    * All demo product images
    * All demo inventory records
    * All demo event records
    * All demo product attributes
    * All 5 demo brands
    * All 10 demo categories
    * All demo cross-selling relationships
    * sample slide show data
    * sample testimonials
    * \++++ CMS page id 13 is disabled/hidden (not deleted) when the demo data is purged so it can be reactivated later to demonstrate using a landing page as an alternate redirect for a order (webinar sample product).

    Click **Yes, Delete All Demo Content** to proceed.
  </Step>

  <Step title="Purge Complete">
    The purge runs immediately. The amber **"Demo Store Content is Active"** banner disappears, confirming that all demo data has been removed. Your store is now clean and ready for real products.
  </Step>
</Steps>

<Warning>
  The purge is **permanent and irreversible** from the admin UI. Once you click "Yes, Delete All Demo Content", all demo products, categories, brands, and related records are hard-deleted from the database. You cannot undo this action — only re-seeding can restore demo content.

  Any products, brands, categories, or variants you created yourself are completely safe — the purge only removes content that was loaded by the Demo Store seeder.
</Warning>

***

## Re-Seeding After a Purge

If you purge the demo content and later want to restore it (for example, to demo the platform to a new team member), simply re-run the seeder:

```bash theme={null}
php artisan db:seed --class=DemoStoreSeeder
```

Because the seeder is idempotent and checks `seo_slug` for existing records before inserting, this is safe to run at any time on a live store — only the missing demo products will be re-inserted, and your real store data is never touched.
