Getting Started & Installation

Using and Purging Demo Store Content

Published 2026-12-04 03:20:21

What the Demo Store Seeder Installs

Site Store Pro includes an optional DemoStoreSeeder designed to showcase physical goods, multi-variant apparel, event tickets, quantity discounts, custom product fields, and cross-selling out of the box.

php artisan db:seed --class=DemoStoreSeeder

Running the seeder populates:

  • 27 Demo Products with 80 Variants, 76 Images (served via CloudFront CDN), and 80 Inventory records
  • 9 Product Categories and 5 Brands
  • 33 Cross-Sell links, 7 Inventory Alert messages, 7 Quantity Discounts, 4 Variant Events, and 3 Custom Product Fields (with 11 options)
  • 1 Homepage Slideshow (2 responsive slides) and 4 Testimonials, plus pre-translated child records

Safely Purging Demo Content Before Launch

Every demo record is tagged with is_demo = 1 so your own products, CMS pages, and articles remain untouched. When you are ready to launch:

  1. Open Admin Dashboard (/admin/dashboard) or Admin → Settings (/admin/settings) as an Administrator.
  2. Locate the yellow Demo Store Content Detected banner at the top of the page.
  3. Click Purge Demo Content and confirm in the modal.

DemoPurgeService removes all records flagged is_demo = 1 (demo products, variants, categories, brands, reviews, custom fields, alerts, slideshows, testimonials, demo CMS pages/downloads, demo KB articles, and their translation tables) and deactivates the sample post-purchase CMS page (ID 13). Your live store records (is_demo = 0) are never deleted.

Was this article helpful?

Let us know how we can improve our documentation.