Skip to content

ZIP Download Configuration

Learn how to configure ZIP file generation, customize download options, and optimize the customer download experience.

When a product is mapped to multiple files, Alva Digital Downloads automatically creates a ZIP archive containing all files. Customers download one ZIP file instead of individual files.

For Customers:

  • ✅ One-click download (not 10+ separate downloads)
  • ✅ All files guaranteed in one package
  • ✅ Faster overall download
  • ✅ Organized file structure

For You:

  • ✅ Professional delivery
  • ✅ Reduced server requests
  • ✅ Better tracking
  • ✅ Consistent customer experience

Best for:

  • Products with 2+ files
  • File bundles and packs
  • Course materials
  • Template collections
  • Any multi-file product

Example:

Product: Social Media Bundle
Files: 10 templates + fonts + instructions
→ Customer downloads: social-media-bundle.zip

Best for:

  • Single file products
  • Customers need selective downloads
  • Very large files (easier to resume individual downloads)

Example:

Product: eBook + Audio Version
Files: ebook.pdf, audiobook.mp3
→ Customer downloads: Each file separately

  1. Navigate to Products → Select product
  2. Find Download Type dropdown
  3. Choose:
    • ZIP (bundle all files)
    • Individual Files (separate downloads)
  1. Click Save

Set default for new product mappings:

  1. Go to SettingsDownload Settings
  2. Set Default Download Type
    • ZIP (recommended)
    • Individual Files
  3. Save

Note: Changing default only affects new mappings, not existing products.


By default, ZIP file is named based on product title:

Product: "Marketing Templates Bundle"
ZIP name: marketing-templates-bundle.zip

Rules:

  • Lowercase
  • Spaces replaced with hyphens
  • Special characters removed
  • .zip extension added

Override default with custom name:

  1. Open product mapping
  2. Find ZIP Title field
  3. Enter custom name (without .zip extension)
  4. Save

Good ZIP Titles:

  • marketing-bundle-v2
  • lightroom-presets-vintage
  • video-course-module-1
  • business-templates-2024

Bad ZIP Titles:

  • download
  • files
  • untitled
  • Product 123

ZIP files are generated:

  1. First Purchase: When first customer buys product
  2. File Changes: When mapped files are updated
  3. Manual Regeneration: When you trigger regeneration
  4. Version Updates: When you update product mapping

Generation speed depends on:

Total File SizeFile CountApprox. Time
Under 100 MB1-20 files5-15 seconds
100-500 MB20-50 files15-60 seconds
500 MB - 2 GB50-100 files1-5 minutes
Over 2 GB100+ files5-15 minutes

Note: First generation takes longer. Subsequent downloads use cached ZIP.


Once generated, ZIP files are stored (cached) for reuse:

First customer: ZIP generated (30 seconds)
Second customer: ZIP served from cache (instant)
Third customer: ZIP served from cache (instant)

ZIP cache is cleared and regenerated when:

  • ✅ Files in product mapping change
  • ✅ Files in mapped pack are updated
  • ✅ You manually trigger regeneration
  • ✅ ZIP Title is changed

Force ZIP regeneration:

  1. Open product mapping
  2. Click Regenerate ZIP button
  1. Confirmation prompt appears
  2. Click Regenerate
  3. New ZIP generated, old cache deleted

When to use:

  • Updated files but ZIP hasn’t regenerated automatically
  • Testing new file combinations
  • Troubleshooting download issues

ZIP compression reduces file size:

Compression Levels:

  • No Compression: Fastest generation, largest ZIP
  • Standard Compression (default): Balanced
  • Maximum Compression: Slowest generation, smallest ZIP

Some files compress better than others:

File TypeTypical Compression
Text (TXT, HTML)70-90% reduction
Documents (PDF, DOCX)10-30% reduction
Images (JPG, PNG)0-10% reduction
Videos (MP4, MOV)0-5% reduction
Already compressed (ZIP, RAR)0% reduction

Example:

Original Files: 500 MB
ZIP (Standard): 450 MB (10% reduction)
Mixed content typically: 10-20% compression

Files in ZIP maintain their organization:

Flat Structure (default):

social-media-bundle.zip
├── template-1.psd
├── template-2.psd
├── template-3.psd
├── fonts.zip
└── instructions.pdf

Folder Structure (if using folders in pack):

course-module-1.zip
├── videos/
│ ├── lesson-1.mp4
│ ├── lesson-2.mp4
│ └── lesson-3.mp4
├── workbooks/
│ └── module-1-workbook.pdf
└── README.txt

To create folder structure:

  1. Create pack with organized files
  2. Use file naming with prefixes:
    • videos-lesson-1.mp4
    • videos-lesson-2.mp4
    • workbooks-module-1.pdf

OR

  1. Upload pre-organized ZIP as one of the files

Recommended limits:

  • Ideal: Under 500 MB
  • Good: 500 MB - 2 GB
  • Acceptable: 2 GB - 5 GB
  • Problematic: Over 5 GB

Large ZIPs can cause:

  • ⚠️ Generation timeouts
  • ⚠️ Download failures on slow connections
  • ⚠️ Customer frustration
  • ⚠️ Server resource issues

Solutions for Large Products:

  1. Split into multiple products
    • Module 1, Module 2, etc.
  2. Use external hosting for very large files
  3. Compress videos/images before upload
  4. Offer streaming for video content

Change download type anytime:

ZIP → Individual Files:

  1. Edit product mapping
  2. Change Download Type to “Individual Files”
  3. Save
  4. Existing customer links update automatically

Individual Files → ZIP:

  1. Edit product mapping
  2. Change Download Type to “ZIP”
  3. Enter ZIP Title
  4. Save
  5. ZIP generates automatically

Impact on customers:

  • Existing download links remain valid
  • New downloads use new format
  • No action needed from customers

Each time ZIP is regenerated, version increments:

Version 1: social-media-bundle-v1.zip (Jan 1)
Version 2: social-media-bundle-v2.zip (Jan 15 - files updated)
Version 3: social-media-bundle-v3.zip (Feb 1 - files updated)

View past ZIP versions:

  1. Open product mapping
  2. Click Version History (if available)
  3. See all past versions:
    • Version number
    • Generated date
    • File count
    • ZIP size
    • Download count
  • New orders: Always get latest version
  • Existing orders: Get version from time of purchase (unless link expired and regenerated)

  1. Optimize File Sizes

    • Compress images before upload
    • Use efficient video codecs
    • Remove unnecessary data
  2. Reasonable File Counts

    • Under 100 files per ZIP (ideal)
    • Break into multiple packs if needed
  3. Avoid Nested ZIPs

    • Don’t ZIP files that are already ZIPs
    • Unzip and include contents instead
  4. Use Appropriate Compression

    • Standard compression for most cases
    • No compression for already-compressed files

Access global ZIP settings:

  1. Go to SettingsZIP Configuration

Default Compression Level

  • None / Standard / Maximum
  • Default: Standard

ZIP Generation Priority

  • Background / Immediate
  • Default: Background (doesn’t block other operations)

Cache Duration

  • How long to keep generated ZIPs
  • Default: Until files change

Cleanup Old Versions

  • Automatically delete old ZIP versions
  • Keep last X versions
  • Default: Keep last 3 versions

Max ZIP Size Warning

  • Alert when ZIP exceeds threshold
  • Default: 2 GB

  1. Generate Test Order

    • Create order with product
    • Mark as paid
    • Check download link
  2. Download ZIP

    • Click download link as customer would
    • Save ZIP file
  3. Extract and Verify

    • Extract ZIP on your computer
    • Check all files present
    • Verify files open correctly
    • Check file names and organization
  4. Test on Multiple Platforms

    • Windows extraction
    • Mac extraction
    • Mobile extraction (if applicable)

Causes:

  • Corrupted download
  • Unsupported ZIP format
  • File too large for extraction tool

Solutions:

  • Re-download ZIP
  • Try different extraction software (7-Zip, WinRAR, built-in tools)
  • Check ZIP size isn’t too large

Causes:

  • Files deleted after ZIP generated
  • Cache not invalidated

Solutions:

  • Check source files exist
  • Regenerate ZIP manually
  • Verify product mapping

Causes:

  • ZIP too large
  • Slow connection
  • Server timeout

Solutions:

  • Reduce ZIP size
  • Split into smaller products
  • Increase server timeout limits

Monitor ZIP generation and downloads:

Metrics Available:

  • ZIP generation time (average)
  • ZIP download count
  • Failed generations
  • Cache hit rate
  • ZIP size trends

Access from:

  1. Dashboard → ZIP Analytics section
  2. Or SettingsZIP Reports

For advanced users, customize ZIP generation:

// Example: Custom file ordering in ZIP
{
"zipConfig": {
"fileOrder": [
"README.txt",
"*.pdf",
"*.mp4",
"*"
],
"compression": "standard",
"includeManifest": true
}
}

See: Advanced Features for more details


Customers see ZIP filename:

  • Use product name or clear identifier
  • Include version if applicable
  • Avoid generic names

Keep ZIPs under 500 MB when possible:

  • Faster generation
  • Fewer download issues
  • Better customer experience

Add README or instructions file:

  • First file in ZIP
  • Explains contents
  • Guides customer

Always test ZIP downloads:

  • Generate test order
  • Download and extract
  • Verify all files work

Check ZIP metrics regularly:

  • Generation time trends
  • Download success rate
  • Customer feedback