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

  1. Locate Quiz - Find the quiz you want to delete in the dashboard
  2. Click Delete Button - Trash can icon in the quiz row
  3. Confirm Deletion - Modal dialog appears requiring confirmation
  4. 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:

  • 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
  • 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

  1. Success Message - Toast notification confirms successful deletion
  2. List Update - Quiz removed from dashboard immediately
  3. Selection Clear - Any bulk selections automatically cleared
  4. Page Refresh - Dashboard updates to reflect change

Safety Mechanisms

Multiple Confirmation Steps

The system requires several deliberate actions:

  1. Initial Click - Must click delete button intentionally
  2. Modal Acknowledgment - Must read warning message
  3. Confirmation Click - Must click “Delete” in modal
  4. 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

  1. [ ] Check Quiz Status - Verify if quiz is Active or Draft
  2. [ ] Review Product Links - Identify which products will be affected
  3. [ ] Customer Impact - Consider timing of deletion relative to customer needs
  4. [ ] Alternative Solutions - Consider deactivating instead of deleting

Backup Considerations

  1. [ ] Document Settings - Record configuration details if needed for future reference
  2. [ ] Export Size Data - Save size table information if valuable
  3. [ ] 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

  1. Retry Operation - Try deletion again after brief wait
  2. Check Quiz Status - Verify quiz still exists in dashboard
  3. Refresh Page - Reload dashboard to see current state
  4. 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.