Skip to content

Mapping Files to Products

Step-by-step guide to linking your digital files and packs to Shopify products for automatic delivery.

Ensure you have:

  • ✅ Files uploaded to Alva Digital Downloads
  • ✅ Shopify product created (or existing product to map)
  • ✅ Product published or ready to publish

  1. Open Alva Digital Downloads app
  2. Click Products in the navigation menu
  3. Browse or search for your product

Find your product in the list and click either:

  • Product title (opens product details)
  • Map Files button (direct to mapping)

On the product mapping page:

  1. Click Add Files button
  1. File selector modal opens

Choose files to include:

Option A: Select Individual Files

  1. Check boxes next to each file you want
  2. Can select multiple files

Option B: Import from Pack

  1. Click Packs tab
  2. Select entire pack
  3. Or choose specific files from pack

Option C: Search and Filter

  1. Use search bar to find files by name
  2. Filter by category or file type
  3. Select from filtered results
  1. Review your selection (count shows at bottom)
  2. Click Add Selected Files button
  1. Files appear in the product mapping

Set download options:

  • ZIP (default): All files bundled in one archive
  • Individual Files: Each file downloadable separately
  • Custom filename for the ZIP download
  • Defaults to product title
  • Example: marketing-bundle-2024.zip
  1. Review all settings
  2. Click Save button
  3. Mapping is created

If you’ve already created a pack:

  1. Go to Products → Select product
  2. Click Add Pack
  1. Select pack from dropdown or modal
  2. Click Add Pack
  3. All pack files are mapped

Benefits:

  • ✅ Faster than selecting individual files
  • ✅ Automatically updates if pack changes (optional setting)
  • ✅ Maintains organized file groups

Create a new Shopify product directly from Alva:

  1. Click ProductsCreate New Product
  1. Fill in product details:
    • Title: Product name
    • Price: Product price
    • Description: Product description
    • Product Type: Category (e.g., “Digital Products”)
  1. In the same modal, Add Files section appears
  2. Select files or packs
  3. Click Create Product and Save Mapping
  1. Product is created in Shopify AND files are mapped

Benefits:

  • ✅ One-step process
  • ✅ Product and mapping created together
  • ✅ No need to switch between Shopify and Alva

Variants are different versions of the same product:

  • Sizes (Small, Medium, Large)
  • Colors (Red, Blue, Green)
  • Formats (PDF, EPUB, MOBI)
  • Editions (Basic, Pro, Premium)

Applies to ALL variants unless overridden

Example:

Product: "eBook Bundle"
Default Mapping: Files A, B, C
→ All variants receive files A, B, C

Each variant gets different files

Example:

Product: "Printable Planner"
Variant: US Letter → planner-us.pdf
Variant: A4 → planner-a4.pdf
Variant: A5 → planner-a5.pdf
  1. Open product mapping page
  2. Look for Variants section
  3. Toggle Variant-Specific Mapping
  1. Each variant gets its own file selector
  1. Click Add Files for each variant
  2. Select appropriate files per variant
  3. Save

Combine default and variant-specific:

Example:

Default Mapping: Instructions.pdf (all variants get this)
Variant Mappings:
- Small → template-small.psd
- Medium → template-medium.psd
- Large → template-large.psd

Result: Each variant gets instructions + size-specific template


  1. Navigate to Products → Select product
  2. Existing files are displayed
  3. To add more files:
    • Click Add Files
    • Select additional files
    • Click Add Selected
  1. To remove files:
    • Click X or trash icon next to file
    • Confirm removal
  1. Save changes

Files appear in ZIP in the order shown:

  1. Hover over file
  2. Click and hold drag handle (⋮⋮)
  3. Drag file up or down
  4. Release to set position
  5. Save

Best Practice: Put important files first (instructions, main content, then extras)


Map the same files to multiple products:

  1. Go to ProductsBulk Mapping
  1. Select multiple products (checkboxes)
  1. Click Bulk ActionsMap Files
  2. Select files or pack to map to all selected products
  3. Configure settings (apply to all)
  4. Click Apply to Selected Products

Use Cases:

  • Same bonus files for multiple products
  • Similar products with same core files
  • Product line with consistent deliverables

See: Bulk Product Mapping for full details


Always test mappings before going live:

  • ✅ Verify files download correctly
  • ✅ Check ZIP contains all files
  • ✅ Ensure file order is correct
  • ✅ Confirm customer experience
  1. Go to Shopify Admin → Orders
  2. Click Create Order
  3. Add your mapped product
  4. Select test customer (use your email)
  5. Mark order as Paid
  6. Click Create Order
  1. Check email for download link (if emails enabled)
  2. Or check Thank You page
  3. Download and verify files
  1. Open product mapping page
  2. Click Preview Download button (if available)
  1. Download generates as if customer purchased
  2. Test ZIP extraction and files
  1. After creating test order
  2. Go to Orders in Alva app
  3. Find your test order
  4. Click to view details
  5. Copy download link
  6. Open in browser to test

Use this checklist for each product mapping:

Pre-Mapping:

  • Files uploaded and ready
  • Product created in Shopify
  • Product details complete (title, price, description)

During Mapping:

  • Correct files selected
  • Files in logical order
  • ZIP title set (if using ZIP)
  • Download type chosen
  • Variant mappings configured (if applicable)

Post-Mapping:

  • Mapping saved successfully
  • Test order created
  • Download link works
  • All files present in download
  • ZIP extracts correctly
  • File names clear and appropriate

Setup:

  • One PDF file
  • Simple product

Mapping:

Product: "Marketing Guide eBook"
Files: marketing-guide.pdf
Download Type: Individual File

Setup:

  • Same template in different formats
  • Instructions included

Mapping:

Product: "Resume Template"
Files:
- resume-template.docx
- resume-template.pdf
- instructions.pdf
Download Type: ZIP
ZIP Title: resume-template-bundle

Setup:

  • Video lessons + workbook + resources
  • Using Pack for organization

Mapping:

Product: "Course Module 1"
Pack: "Module 1 Pack" (contains 5 videos, 1 PDF, 1 ZIP)
Download Type: ZIP

Setup:

  • Basic, Pro, Premium variants
  • Each variant gets different files

Mapping:

Product: "Template Bundle"
Variant: Basic
Files: Templates 1-10
Variant: Pro
Files: Templates 1-20, Bonus Pack
Variant: Premium
Files: Templates 1-30, Bonus Pack, Exclusive Guide

Setup:

  • Same content, different languages
  • Variants for each language

Mapping:

Product: "User Manual"
Variant: English
File: manual-en.pdf
Variant: Spanish
File: manual-es.pdf
Variant: French
File: manual-fr.pdf

Cause: Tried to save mapping without adding files

Solution: Add at least one file or pack before saving


Cause: Product has existing mapping

Solution: Edit existing mapping instead of creating new one


Cause: Mapped file was deleted from library

Solution:

  • Remove broken file from mapping
  • Upload file again or replace with different file

Cause: Enabled variant-specific mapping but didn’t map all variants

Solution: Either:

  • Map all variants, OR
  • Disable variant-specific mapping and use default

Recommendation: Consider splitting into smaller packs or products


Cause: Product mapped to 100+ files

Recommendation: Test download to ensure ZIP generation works


Order files logically in mapping:

Good Order:
1. README.txt
2. Main-Content.pdf
3. Bonus-1.pdf
4. Bonus-2.pdf
5. License.txt
Bad Order:
1. Bonus-2.pdf
2. License.txt
3. Main-Content.pdf
4. README.txt
5. Bonus-1.pdf

Use descriptive, lowercase, hyphenated names:

Good:

  • social-media-templates-2024
  • video-course-module-1
  • business-card-bundle

Bad:

  • Download
  • Files
  • PRODUCT 123 FINAL

Never publish a product without testing the download:

  1. Create test order
  2. Download as customer
  3. Extract ZIP
  4. Verify all files present and correct

Keep internal notes about complex mappings:

  • Which products use which files
  • Variant configurations
  • Update schedule

Monthly review:

  • Check for broken mappings
  • Update outdated files
  • Remove discontinued product mappings
  • Verify new products are mapped