Migration guide
This guide covers upgrading from Basic to Pro and migrating from other download plugins. It does not mix version-specific steps; follow the sections that apply to your case.
Upgrading from Basic to Pro
Before You Upgrade
Backup Your Site:
- Backup your WordPress database
- Backup your WordPress files
- Test backup restoration
Check Requirements:
- WordPress 5.0+
- WooCommerce 3.0+
- PHP 7.4+
- Sufficient disk space for tracking logs
Upgrade Process
Step 1: Purchase Pro License
Visit WP Enhanced to purchase.
Step 2: Download Pro Version
- Log in to your WP Enhanced account
- Go to Downloads
- Download the Pro plugin ZIP file
Step 3: Deactivate Basic Version
- Go to Plugins > Installed Plugins
- Find "Free Downloads for WooCommerce"
- Click Deactivate
- Do NOT delete the plugin yet
Step 4: Install Pro Version
- Go to Plugins > Add New
- Click Upload Plugin
- Choose the Pro ZIP file
- Click Install Now
- Click Activate Plugin
Step 5: Verify Settings
- Go to WP Enhanced > Free Download Woo
- Verify all settings transferred correctly
- Check product selections
- Test download functionality
Step 6: Remove Basic Version
- Go to Plugins > Installed Plugins
- Find the old Basic version
- Click Delete
What Gets Preserved
Settings:
- General settings ✅
- Button styling ✅
- Product selections ✅
- Login requirements ✅
- Archive display settings ✅
Data:
- Download counts ✅
- Product meta ✅
What's New in Pro
New Features:
- Download tracking
- Download limits
- Email capture
- MailChimp integration
- Statistics & reports
- Account history
- PDF watermarking
- Advanced compatibility
New Settings Pages:
- Pro Edition tab
- Tracking settings
- Limits settings
- Newsletter settings
- Statistics page
Post-Upgrade Configuration
Enable Tracking:
- Go to WP Enhanced > Free Download Woo
- Click Tracking tab
- Check "Enable download tracking"
- Configure email capture if desired
- Click Save Changes
Configure Limits:
- Click Download Limits tab
- Check "Enable download limits"
- Set limit type, frequency, and amount
- Click Save Changes
Set Up MailChimp:
- Click Newsletter tab
- Enter MailChimp API key
- Select list
- Configure tags
- Click Save Changes
Migrating from Other Plugins
From WooCommerce Download Manager
Step 1: Export Data
No direct export available. Note your settings manually.
Step 2: Install Free Downloads
- Install and activate Free Downloads for WooCommerce
- Keep Download Manager active temporarily
Step 3: Configure Products
- Go to each product
- Ensure product is:
- Downloadable ✅
- Virtual ✅
- Free (£0.00) ✅
- Add downloadable files
- Save product
Step 4: Configure Settings
- Go to WP Enhanced > Free Download Woo
- Configure general settings
- Set login requirements
- Customize button styling
Step 5: Test
- Test downloads on frontend
- Verify all files download correctly
- Check email capture (Pro)
- Verify limits work (Pro)
Step 6: Deactivate Old Plugin
- Deactivate WooCommerce Download Manager
- Test site thoroughly
- Delete old plugin if everything works
From Easy Digital Downloads
Compatibility Note: EDD and WooCommerce use different systems. Migration requires manual product recreation.
Step 1: Export EDD Products
- Go to Downloads > Tools > Export
- Export all downloads
- Save CSV file
Step 2: Create WooCommerce Products
For each EDD download:
- Create new WooCommerce product
- Set as Downloadable and Virtual
- Set price to £0.00
- Add downloadable files
- Publish product
Step 3: Install Free Downloads
- Install Free Downloads for WooCommerce
- Configure settings
- Test downloads
Step 4: Migrate Customer Data (Optional)
If you have Pro edition:
- Export EDD customer emails
- Import to MailChimp
- Tag as "Migrated from EDD"
From Download Monitor
Step 1: Note Current Setup
- List all downloadable products
- Note download counts
- Export customer data if available
Step 2: Install Free Downloads
- Install and activate plugin
- Configure settings
Step 3: Recreate Products
- Create WooCommerce products for each download
- Set as free, downloadable, virtual
- Add files
- Publish
Step 4: Test and Switch
- Test all downloads
- Deactivate Download Monitor
- Delete if everything works
Data Migration
Preserving Download Counts
Manual Method:
// Add to functions.php temporarily
function migrate_download_counts() {
$products = get_posts(array(
'post_type' => 'product',
'posts_per_page' => -1
));
foreach ($products as $product) {
// Get old count (adjust meta key as needed)
$old_count = get_post_meta($product->ID, 'old_download_count', true);
// Set new count
if ($old_count) {
update_post_meta($product->ID, 'somdn_dlcount', $old_count);
}
}
}
// Run once, then remove
add_action('init', 'migrate_download_counts');
Importing Customer Emails
CSV Format:
email,first_name,last_name,product_id
[email protected],John,Doe,123
Import Script:
function import_customer_emails() {
$file = '/path/to/emails.csv';
$csv = array_map('str_getcsv', file($file));
array_shift($csv); // Remove header
foreach ($csv as $row) {
list($email, $fname, $lname, $product_id) = $row;
// Create download log (Pro only)
$post_id = wp_insert_post(array(
'post_type' => 'somdn_tracked',
'post_status' => 'publish',
'post_title' => 'Imported Download'
));
if ($post_id) {
update_post_meta($post_id, 'somdn_user_email', $email);
update_post_meta($post_id, 'somdn_user_fname', $fname);
update_post_meta($post_id, 'somdn_user_lname', $lname);
update_post_meta($post_id, 'somdn_product_id', $product_id);
update_post_meta($post_id, 'somdn_user_id', 0);
}
}
}
Troubleshooting Migration
Settings Not Transferred
Solution:
- Check if old plugin was properly deactivated
- Manually reconfigure settings
- Clear all caches
Products Not Showing
Check:
- Product is Downloadable ✅
- Product is Virtual ✅
- Product price is £0.00 ✅
- Product is Published ✅
- Product is included in settings ✅
Downloads Not Working
Check:
- Files exist in correct location
- File permissions are correct (644)
- WooCommerce download method is set
- No conflicting plugins active
Email Capture Not Appearing
Check:
- Pro edition installed ✅
- Tracking enabled ✅
- Email capture enabled ✅
- Cache cleared ✅
Limits Not Enforcing
Check:
- Limits enabled ✅
- Tracking enabled ✅
- Correct limit type selected ✅
- Products included in limits ✅
Rollback Procedure
If you need to rollback to Basic edition:
Step 1: Backup Pro Settings
Take screenshots of all Pro settings pages.
Step 2: Export Data
If using Pro features:
- Export statistics
- Export download logs
- Save MailChimp configuration
Step 3: Deactivate Pro
- Deactivate Pro plugin
- Do not delete yet
Step 4: Install Basic
- Install Basic edition
- Activate plugin
- Reconfigure settings
Step 5: Test
- Test basic downloads
- Verify settings
- Check product pages
Step 6: Remove Pro
Only after confirming Basic works:
- Delete Pro plugin
- Clean up Pro database entries (optional)
Database Cleanup
Remove Pro Data
Warning: This permanently deletes all tracking data.
function cleanup_pro_data() {
global $wpdb;
// Delete download logs
$wpdb->query("DELETE FROM {$wpdb->posts} WHERE post_type = 'somdn_tracked'");
// Delete orphaned meta
$wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id NOT IN (SELECT ID FROM {$wpdb->posts})");
// Delete Pro options
delete_option('somdn_pro_track_settings');
delete_option('somdn_pro_basic_limit_settings');
delete_option('somdn_pro_newsletter_mailchimp_settings');
// Clear user meta
$wpdb->query("DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE 'somdn_user_limit_%'");
}
Optimize Database
After migration:
-- Optimize tables
OPTIMIZE TABLE wp_posts;
OPTIMIZE TABLE wp_postmeta;
OPTIMIZE TABLE wp_options;
Best Practices
Before Migration
- Full site backup
- Test on staging site first
- Document current settings
- Export important data
- Check plugin compatibility
- Review system requirements
During Migration
- Follow steps in order
- Don't skip verification steps
- Test each feature
- Clear all caches
- Check error logs
- Monitor performance
After Migration
- Verify all features work
- Test with different user roles
- Check mobile compatibility
- Monitor error logs
- Update documentation
- Train team on new features
Getting Help
If you encounter issues during migration:
- Check Troubleshooting Guide
- Review Error Logs
- Contact Support
- Provide migration details:
- Previous plugin name and version
- Current plugin version
- WordPress version
- WooCommerce version
- Error messages
- Steps already taken
What's Next
- Installation - Fresh installation steps
- Troubleshooting - Common issues after migration
- Error logs and debugging - Debugging migration issues
- Support and resources - Where to get help