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).
Β
