Deleting Quizzes
Quiz deletion allows you to permanently remove individual quizzes from your SmartSize AI Fit Recommender collection. The system includes multiple safety mechanisms to prevent accidental deletions.
How Quiz Deletion Works
Deletion Process
When you delete a quiz, the system permanently removes:
What Gets Deleted
❌ Quiz Configuration - All settings and preferences
❌ Size Table Data - All size entries and measurements
❌ Product Associations - All linked products, collections, tags, types, vendors
❌ Measurement Settings - Enabled measurements and weight configurations
❌ Fit Score Settings - All fit calculation parameters
❌ Historical Data - Creation and modification timestamps
Immediate Effects
- Dashboard Removal - Quiz disappears from quiz list immediately
- Customer Impact - If quiz was Active, size recommendations stop working
- Database Cleanup - All related data removed from system
- No Recovery - Deletion is permanent and cannot be undone
Using the Delete Function
Accessing Quiz Deletion
- Locate Quiz - Find the quiz you want to delete in the dashboard
- Click Delete Button - Trash can icon in the quiz row
- Confirm Deletion - Modal dialog appears requiring confirmation
- Final Confirmation - Click “Delete” button in modal to proceed
Delete Button Details
- Icon - Trash can symbol for clear identification
- Location - Right side of each quiz row
- Hover Tooltip - “Delete” label appears on hover
- Safety Color - Typically red or warning color
Confirmation Modal
The deletion confirmation dialog includes:
Modal Content
- Clear Title - “Delete quiz” heading
- Warning Message - “Are you sure you want to delete this quiz? This action cannot be undone.”
- Quiz Identification - Shows which quiz will be deleted
Modal Actions
- Delete Button - Red/destructive button to confirm deletion
- Cancel Button - Safe option to abort deletion
- Close Options - X button or clicking outside modal cancels
After Deletion
- Success Message - Toast notification confirms successful deletion
- List Update - Quiz removed from dashboard immediately
- Selection Clear - Any bulk selections automatically cleared
- Page Refresh - Dashboard updates to reflect change
Safety Mechanisms
Multiple Confirmation Steps
The system requires several deliberate actions:
- Initial Click - Must click delete button intentionally
- Modal Acknowledgment - Must read warning message
- Confirmation Click - Must click “Delete” in modal
- No Accidental Deletions - Prevents mistaken removals
Visual Warnings
- Destructive Button Styling - Delete buttons use warning colors
- Clear Warning Text - Modal explicitly states action cannot be undone
- Icon Recognition - Trash can icon universally recognized as delete
Protection Against Errors
- Shop Isolation - Can only delete quizzes from your own store
- Permission Checking - Verifies authorization before deletion
- Error Handling - Shows error message if deletion fails
When to Delete Quizzes
Appropriate Deletion Scenarios
Outdated Quizzes
- Seasonal Items - Remove quizzes for discontinued seasonal products
- Product Discontinuation - Delete quizzes when products no longer sold
- Collection Changes - Remove quizzes for retired product collections
Duplicate or Test Quizzes
- Testing Copies - Remove quizzes created for testing purposes
- Accidental Duplicates - Clean up unintended duplicate quizzes
- Development Versions - Remove draft versions after finalizing
Consolidation Efforts
- Similar Quizzes - Remove redundant quizzes that overlap functionality
- Simplified Setup - Streamline by removing overly complex quiz variations
- Performance Optimization - Reduce quiz count for better management
When NOT to Delete
Active Customer-Facing Quizzes
❌ Live Recommendations - Don’t delete quizzes currently serving customers
❌ High-Traffic Products - Avoid deleting quizzes for popular items
❌ Peak Seasons - Don’t remove seasonal quizzes during their active period
Valuable Reference Material
❌ Template Quizzes - Keep well-configured quizzes as templates
❌ Successful Configurations - Preserve quizzes with proven effectiveness
❌ Complex Setups - Keep quizzes that took significant time to configure
Deletion Best Practices
Pre-Deletion Checklist
Impact Assessment
- [ ] Check Quiz Status - Verify if quiz is Active or Draft
- [ ] Review Product Links - Identify which products will be affected
- [ ] Customer Impact - Consider timing of deletion relative to customer needs
- [ ] Alternative Solutions - Consider deactivating instead of deleting
Backup Considerations
- [ ] Document Settings - Record configuration details if needed for future reference
- [ ] Export Size Data - Save size table information if valuable
- [ ] Consider Duplication - Create backup copy before deletion if uncertain
Timing Considerations
Optimal Deletion Times
- Low Traffic Periods - Delete during off-peak hours
- Season Transitions - Remove seasonal quizzes after season ends
- Product Updates - Delete during product catalog updates
- Maintenance Windows - Coordinate with other system changes
Avoiding Peak Times
- Holiday Seasons - Avoid deletions during high shopping periods
- Product Launches - Don’t delete during new product introductions
- Marketing Campaigns - Preserve quizzes during active promotions
Communication Strategy
Team Coordination
- Notify Team Members - Inform others before deleting shared quizzes
- Document Changes - Record what was deleted and why
- Plan Replacements - Ensure replacement quizzes ready if needed
Error Handling
Common Deletion Errors
Permission Issues
Error: “Failed to delete quiz”
Cause: Insufficient permissions or authentication problems
Solution: Refresh page and try again, or contact administrator
Database Conflicts
Error: “Quiz deletion failed”
Cause: Database connectivity or constraint issues
Solution: Wait a moment and retry, or try again later
Network Problems
Error: Request timeout or connection error
Solution: Check internet connection and retry deletion
Recovery Options
If Deletion Fails
- Retry Operation - Try deletion again after brief wait
- Check Quiz Status - Verify quiz still exists in dashboard
- Refresh Page - Reload dashboard to see current state
- Contact Support - If persistent problems, seek technical help
No Undo Available
- Permanent Action - Deleted quizzes cannot be recovered
- Backup Reliance - Must restore from duplicates or backups if available
- Reconstruction - May need to recreate quiz manually if needed again
The deletion feature provides essential cleanup capabilities while maintaining safety through confirmation requirements and clear warnings about the permanent nature of the action.