In PrestaShop (1.7 / 8.x), default sample data (demo products, categories, customers, orders, CMS pages) is usually installed when you choose “Install demo products” during setup.
Below is the proper way to delete it safely.
✅ METHOD 1 (Recommended) – Delete from Admin Panel
🔹 1. Delete Demo Products
Go to:
Catalog → Products
- Select all demo products
- Click Bulk actions
- Click Delete
🔹 2. Delete Demo Categories
Go to:
Catalog → Categories
Delete demo categories like:
- Clothes
- Accessories
- Art
- Home
- etc.
⚠ Do NOT delete:
- Home
- Root category
🔹 3. Delete Demo Customers
Go to:
Customers → Customers
Select demo customers → Delete.
🔹 4. Delete Demo Orders
Go to:
Orders → Orders
Delete all test/demo orders.
🔹 5. Delete Demo CMS Pages
Go to:
Design → Pages
Delete unnecessary demo CMS pages.
✅ METHOD 2 – Reset Using Database (Advanced)
⚠ Only do this if store is NEW and no real data exists.
Using phpMyAdmin:
- Open your database
- Empty these tables (DO NOT drop):
ps_product
ps_product_lang
ps_category (except ID 1 & 2)
ps_orders
ps_customer
⚠ Backup before doing this.
✅ METHOD 3 – Reinstall Without Demo Data (Cleanest Way)
If your store is fresh:
- Delete entire PrestaShop installation
- Delete database
- Reinstall
- During installation → Select:
❌ Do NOT install demo products
This is the cleanest method.
🚨 Important After Deleting
After removing demo data:
- Go to:
Advanced Parameters → Performance - Click:
- Clear cache
🎯 Best Practice
If your store is LIVE → Use Method 1 only.
If your store is NEW → Reinstall without demo data (best option).
