Mapping Files to Products
Step-by-step guide to linking your digital files and packs to Shopify products for automatic delivery.
Before You Begin
Section titled “Before You Begin”Ensure you have:
- ✅ Files uploaded to Alva Digital Downloads
- ✅ Shopify product created (or existing product to map)
- ✅ Product published or ready to publish
Method 1: Map Files from Products Page
Section titled “Method 1: Map Files from Products Page”Step 1: Navigate to Products
Section titled “Step 1: Navigate to Products”- Open Alva Digital Downloads app
- Click Products in the navigation menu
- Browse or search for your product
Step 2: Select Product to Map
Section titled “Step 2: Select Product to Map”Find your product in the list and click either:
- Product title (opens product details)
- Map Files button (direct to mapping)
Step 3: Open File Selector
Section titled “Step 3: Open File Selector”On the product mapping page:
- Click Add Files button
- File selector modal opens
Step 4: Select Files
Section titled “Step 4: Select Files”Choose files to include:
Option A: Select Individual Files
- Check boxes next to each file you want
- Can select multiple files
Option B: Import from Pack
- Click Packs tab
- Select entire pack
- Or choose specific files from pack
Option C: Search and Filter
- Use search bar to find files by name
- Filter by category or file type
- Select from filtered results
Step 5: Add Selected Files
Section titled “Step 5: Add Selected Files”- Review your selection (count shows at bottom)
- Click Add Selected Files button
- Files appear in the product mapping
Step 6: Configure Settings
Section titled “Step 6: Configure Settings”Set download options:
Download Type
Section titled “Download Type”- ZIP (default): All files bundled in one archive
- Individual Files: Each file downloadable separately
ZIP Title (if ZIP selected)
Section titled “ZIP Title (if ZIP selected)”- Custom filename for the ZIP download
- Defaults to product title
- Example:
marketing-bundle-2024.zip
Step 7: Save Mapping
Section titled “Step 7: Save Mapping”- Review all settings
- Click Save button
- Mapping is created
Method 2: Map Entire Pack to Product
Section titled “Method 2: Map Entire Pack to Product”Quick Pack Mapping
Section titled “Quick Pack Mapping”If you’ve already created a pack:
- Go to Products → Select product
- Click Add Pack
- Select pack from dropdown or modal
- Click Add Pack
- All pack files are mapped
Benefits:
- ✅ Faster than selecting individual files
- ✅ Automatically updates if pack changes (optional setting)
- ✅ Maintains organized file groups
Method 3: Create Product from App
Section titled “Method 3: Create Product from App”Create and Map Simultaneously
Section titled “Create and Map Simultaneously”Create a new Shopify product directly from Alva:
- Click Products → Create New Product
- Fill in product details:
- Title: Product name
- Price: Product price
- Description: Product description
- Product Type: Category (e.g., “Digital Products”)
- In the same modal, Add Files section appears
- Select files or packs
- Click Create Product and Save Mapping
- 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
Mapping Product Variants
Section titled “Mapping Product Variants”What Are Product Variants?
Section titled “What Are Product Variants?”Variants are different versions of the same product:
- Sizes (Small, Medium, Large)
- Colors (Red, Blue, Green)
- Formats (PDF, EPUB, MOBI)
- Editions (Basic, Pro, Premium)
Default vs. Variant-Specific Mapping
Section titled “Default vs. Variant-Specific Mapping”Default Mapping
Section titled “Default Mapping”Applies to ALL variants unless overridden
Example:
Product: "eBook Bundle"Default Mapping: Files A, B, C→ All variants receive files A, B, CVariant-Specific Mapping
Section titled “Variant-Specific Mapping”Each variant gets different files
Example:
Product: "Printable Planner" Variant: US Letter → planner-us.pdf Variant: A4 → planner-a4.pdf Variant: A5 → planner-a5.pdfHow to Map Variants
Section titled “How to Map Variants”- Open product mapping page
- Look for Variants section
- Toggle Variant-Specific Mapping
- Each variant gets its own file selector
- Click Add Files for each variant
- Select appropriate files per variant
- Save
Default + Variant Pattern
Section titled “Default + Variant Pattern”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.psdResult: Each variant gets instructions + size-specific template
Editing Existing Mappings
Section titled “Editing Existing Mappings”Modify Files
Section titled “Modify Files”- Navigate to Products → Select product
- Existing files are displayed
- To add more files:
- Click Add Files
- Select additional files
- Click Add Selected
- To remove files:
- Click X or trash icon next to file
- Confirm removal
- Save changes
Reorder Files
Section titled “Reorder Files”Files appear in ZIP in the order shown:
- Hover over file
- Click and hold drag handle (⋮⋮)
- Drag file up or down
- Release to set position
- Save
Best Practice: Put important files first (instructions, main content, then extras)
Mapping Multiple Products (Bulk)
Section titled “Mapping Multiple Products (Bulk)”Bulk Mapping Workflow
Section titled “Bulk Mapping Workflow”Map the same files to multiple products:
- Go to Products → Bulk Mapping
- Select multiple products (checkboxes)
- Click Bulk Actions → Map Files
- Select files or pack to map to all selected products
- Configure settings (apply to all)
- 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
Testing Your Mapping
Section titled “Testing Your Mapping”Why Test?
Section titled “Why Test?”Always test mappings before going live:
- ✅ Verify files download correctly
- ✅ Check ZIP contains all files
- ✅ Ensure file order is correct
- ✅ Confirm customer experience
Testing Methods
Section titled “Testing Methods”Method 1: Test Order in Shopify
Section titled “Method 1: Test Order in Shopify”- Go to Shopify Admin → Orders
- Click Create Order
- Add your mapped product
- Select test customer (use your email)
- Mark order as Paid
- Click Create Order
- Check email for download link (if emails enabled)
- Or check Thank You page
- Download and verify files
Method 2: Preview from App
Section titled “Method 2: Preview from App”- Open product mapping page
- Click Preview Download button (if available)
- Download generates as if customer purchased
- Test ZIP extraction and files
Method 3: View Download Link
Section titled “Method 3: View Download Link”- After creating test order
- Go to Orders in Alva app
- Find your test order
- Click to view details
- Copy download link
- Open in browser to test
Mapping Checklist
Section titled “Mapping Checklist”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
Common Mapping Patterns
Section titled “Common Mapping Patterns”Pattern 1: Single eBook
Section titled “Pattern 1: Single eBook”Setup:
- One PDF file
- Simple product
Mapping:
Product: "Marketing Guide eBook"Files: marketing-guide.pdfDownload Type: Individual FilePattern 2: Template with Multiple Formats
Section titled “Pattern 2: Template with Multiple Formats”Setup:
- Same template in different formats
- Instructions included
Mapping:
Product: "Resume Template"Files: - resume-template.docx - resume-template.pdf - instructions.pdfDownload Type: ZIPZIP Title: resume-template-bundlePattern 3: Course Module
Section titled “Pattern 3: Course Module”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: ZIPPattern 4: Tiered Offering
Section titled “Pattern 4: Tiered Offering”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 GuidePattern 5: Language Versions
Section titled “Pattern 5: Language Versions”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.pdfMapping Errors and Warnings
Section titled “Mapping Errors and Warnings”Common Errors
Section titled “Common Errors””No files selected”
Section titled “”No files selected””Cause: Tried to save mapping without adding files
Solution: Add at least one file or pack before saving
”Product already mapped”
Section titled “”Product already mapped””Cause: Product has existing mapping
Solution: Edit existing mapping instead of creating new one
”File not found”
Section titled “”File not found””Cause: Mapped file was deleted from library
Solution:
- Remove broken file from mapping
- Upload file again or replace with different file
”Variant mapping incomplete”
Section titled “”Variant mapping incomplete””Cause: Enabled variant-specific mapping but didn’t map all variants
Solution: Either:
- Map all variants, OR
- Disable variant-specific mapping and use default
Warnings
Section titled “Warnings””Large ZIP size”
Section titled “”Large ZIP size””Recommendation: Consider splitting into smaller packs or products
”Many files in mapping”
Section titled “”Many files in mapping””Cause: Product mapped to 100+ files
Recommendation: Test download to ensure ZIP generation works
Mapping Best Practices
Section titled “Mapping Best Practices”1. Logical File Organization
Section titled “1. Logical File Organization”Order files logically in mapping:
Good Order:1. README.txt2. Main-Content.pdf3. Bonus-1.pdf4. Bonus-2.pdf5. License.txt
Bad Order:1. Bonus-2.pdf2. License.txt3. Main-Content.pdf4. README.txt5. Bonus-1.pdf2. Clear ZIP Titles
Section titled “2. Clear ZIP Titles”Use descriptive, lowercase, hyphenated names:
Good:
social-media-templates-2024video-course-module-1business-card-bundle
Bad:
DownloadFilesPRODUCT 123 FINAL
3. Test Before Launch
Section titled “3. Test Before Launch”Never publish a product without testing the download:
- Create test order
- Download as customer
- Extract ZIP
- Verify all files present and correct
4. Document Mappings
Section titled “4. Document Mappings”Keep internal notes about complex mappings:
- Which products use which files
- Variant configurations
- Update schedule
5. Regular Audits
Section titled “5. Regular Audits”Monthly review:
- Check for broken mappings
- Update outdated files
- Remove discontinued product mappings
- Verify new products are mapped
Next Steps
Section titled “Next Steps”- Bulk Product Mapping - Map multiple products efficiently
- ZIP Download Configuration - Customize ZIP delivery
- Updating Product Mappings - Manage changes over time