Troubleshooting
Symptom
You are experiencing issues with Free Downloads for WooCommerce: the download button is not showing on product pages, clicking download does not work, ZIP files are not creating, styling does not match your theme, or you see login, membership, or performance problems.
Applies To
- WordPress 6.4 – 6.5
- WooCommerce 8.0 – 8.5
- Free Downloads for WooCommerce (free and Pro editions)
Likely Causes
- Product not set up correctly – Price not exactly zero, product not downloadable/virtual, or no files attached
- File or URL issues – Invalid file URLs, external files used for ZIP, or permission problems
- Cache – Browser, server, or plugin cache showing old content
- Plugin or theme conflict – Another plugin or theme interfering with downloads or display
- Server configuration – PHP memory, execution time, or ZipArchive not available
Fix
Work through the sections below that match your issue. Start with the most common: download button not showing.
Download Button Not Showing
The most common issue is the download button not appearing on product pages.
Checklist
Work through these checks in order:
-
✅ Product Price
- Price must be exactly 0 (zero)
- Not 0.01, not empty, exactly 0
- Check both regular price and sale price
-
✅ Product Type
- Downloadable checkbox must be checked
- Virtual checkbox must be checked
- Both are required
-
✅ Downloadable Files
- At least one file must be added
- File URL must be valid
- File must be accessible
-
✅ Product Selection Settings
- If "Include selected products only" is enabled
- Check "Include this product" on product edit page
-
✅ Cache
- Clear browser cache
- Clear server cache
- Clear any caching plugins
- Test in incognito/private mode
-
✅ Plugin Active
- Verify plugin is activated
- Check for plugin conflicts
- Try disabling other plugins temporarily
-
✅ Page builders (Elementor, Divi, etc.)
- If you build product pages with a page builder, their product blocks or modules often do not include the WooCommerce hooks where the plugin injects the download button.
- Solution: Use the
[download_now]shortcode instead. Add a Shortcode (or Code/HTML) block or widget and insert[download_now id="123"]with your product ID. The shortcode works regardless of hooks. See Shortcodes reference.
Still Not Working?
If the button still doesn't show:
// Add this to your theme's functions.php temporarily for debugging
add_action('wp_footer', function() {
if (is_product()) {
global $product;
echo '<!-- Debug: Product ID: ' . $product->get_id() . ' -->';
echo '<!-- Debug: Price: ' . $product->get_price() . ' -->';
echo '<!-- Debug: Downloadable: ' . ($product->is_downloadable() ? 'Yes' : 'No') . ' -->';
echo '<!-- Debug: Virtual: ' . ($product->is_virtual() ? 'Yes' : 'No') . ' -->';
}
});
View page source and check the HTML comments for debug info.
Download Not Working
Button appears but clicking doesn't download the file.
Common Causes
File URL Issues
Problem: File URL is incorrect or inaccessible
Solution:
- Edit the product
- Check the file URL in downloadable files
- Click the URL to test it directly
- Ensure file exists on server
- Check file permissions (should be readable)
JavaScript Errors
Problem: JavaScript conflicts preventing download
Solution:
- Open browser console (F12)
- Look for JavaScript errors
- If errors present, disable plugins one by one
- Test with default WordPress theme
Nonce Expired
Problem: Security nonce has expired (after 24 hours)
Solution:
- Refresh the page
- Try download again
- Nonces regenerate on page load
Server Issues
Problem: Server configuration blocking downloads
Solution:
- Check server error logs
- Verify PHP memory limit (128MB minimum)
- Check max execution time (30 seconds minimum)
- Contact hosting support if needed
ZIP Files Not Creating
Multiple file products not creating ZIP files.
External File URLs
Problem: Files are external URLs, not uploaded to WordPress
Solution:
- ZIP creation only works with files hosted on your server
- Use "Links Only" display method for external files
- Or upload files to WordPress using "Choose File" option
PHP ZipArchive Not Available
Problem: Server doesn't have ZipArchive extension
Solution:
- Check if ZipArchive is available:
<?php
if (class_exists('ZipArchive')) {
echo 'ZipArchive is available';
} else {
echo 'ZipArchive is NOT available';
}
?>
- If not available, contact hosting support to enable it
- Or use "Links Only" display method
File Permissions
Problem: Plugin can't write to uploads directory
Solution:
- Check
/wp-content/uploads/is writable - Check
/wp-content/uploads/somdn-zips/exists and is writable - Set permissions to 755 or 775
- Contact hosting support if needed
Memory Limit
Problem: Not enough memory to create large ZIPs
Solution:
- Increase PHP memory limit in wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
- Or reduce file sizes
- Or use "Links Only" for large files
Styling Issues
Download buttons don't match your theme.
Button Classes Not Applied
Problem: Custom button classes not working
Solution:
- Go to WP Enhanced > Free Download Woo, click General in the sidebar, then set Button classes
- Add your theme's button classes
- Common classes:
btn,btn-primary,button,wp-block-button__link - Clear cache and test
CSS Not Applied
Problem: Custom CSS not taking effect
Solution:
- Check CSS specificity using browser inspector
- Your CSS may need
!important - Ensure CSS is loaded after plugin CSS
- Clear browser cache
Button Too Small/Large
Problem: Button size doesn't match theme
Solution: Add padding in Button CSS setting:
padding: 12px 24px;
font-size: 16px;
Wrong Colors
Problem: Button colors don't match theme
Solution: Add colors in Button CSS setting:
background-color: #0073aa;
color: white;
border: none;
Login Issues
Problems with login requirements.
Login Required But Button Shows
Problem: "Require login" is enabled but guests see button
Solution:
- Clear all caches
- Test in incognito mode
- Check setting is actually saved
- Verify you're logged out when testing
Logged In But Can't Download
Problem: User is logged in but still sees login message
Solution:
- Clear browser cookies
- Log out and log back in
- Check user has proper role/capabilities
- Clear all caches
Redirect After Login Not Working
Problem: After login, user not redirected back to product
Solution:
- Check for custom login page plugins
- Verify no redirect filters interfering
- Test with default WordPress login
- Disable other plugins temporarily
WooCommerce Memberships Issues
Problems with membership restrictions.
Members Can't Download
Problem: Members see membership message instead of button
Solution:
- Verify membership is active (not expired)
- Check product is restricted to correct plan
- Ensure user is logged in
- Check membership plan includes product access
- Clear all caches
Non-Members See Button
Problem: Non-members see download button
Solution:
- Verify product restriction is saved
- Check membership plan is active
- Ensure WooCommerce Memberships is active
- Clear caches
- Test in incognito mode
PDF Viewer Issues
PDF viewer not working.
"View PDF" Button Not Showing
Problem: Button doesn't appear for PDFs
Solution:
- Verify PDF Viewer is enabled in settings
- Check file is actually a PDF (.pdf extension)
- Ensure file is attached to product
- Clear caches
PDF Doesn't Load
Problem: Clicking "View PDF" doesn't work
Solution:
- Verify PDF URL is publicly accessible
- Check file size (should be under 10MB)
- Test PDF URL directly in browser
- Ensure no authentication required
- Check if file is corrupted
PDF Displays Incorrectly
Problem: PDF renders wrong in viewer
Solution:
- Check original PDF file
- Verify PDF isn't corrupted
- Try different PDF viewer
- Consider PDF complexity (some features may not render)
- Reduce file size if too large
Shop Page Issues
Problems with downloads on shop/archive pages.
Download Button Not on Shop Page
Problem: Button doesn't appear on shop pages
Solution:
- Enable "Allow download on shop / archive pages" in settings
- Verify product has only one file (multiple files always show "Read More")
- Clear caches
- Check theme compatibility
"Read More" Shows Instead of Download
Problem: Shows "Read More" when should show download
Solution:
- This is normal for multiple-file products
- Only single-file products show download on shop pages
- Or "Allow download on shop / archive pages" is disabled
Theme Conflicts
Plugin not working with your theme.
Common Theme Issues
Divi Theme:
- May need to adjust button classes
- Check for custom add-to-cart scripts
- Test with Divi's default product layout
Flatsome Theme:
- May conflict with Quick View
- Check Flatsome's product page customizations
- Test with default Flatsome product layout
Astra Theme:
- Usually works well
- Check Astra's WooCommerce settings
- Verify no custom product page layouts
OceanWP Theme:
- Generally compatible
- Check OceanWP's WooCommerce options
- Test with default product layout
General Theme Troubleshooting
- Test with default WordPress theme (Twenty Twenty-Four)
- If works with default theme, it's a theme conflict
- Contact theme support
- Or use template overrides to fix
Plugin Conflicts
Another plugin interfering.
Common Conflicts
WooCommerce Product Add-ons:
- May interfere with button display
- Check add-ons aren't required for free products
WooCommerce Subscriptions:
- Usually compatible
- Check subscription settings
Caching Plugins:
- Clear cache after any changes
- Exclude product pages from cache if needed
Security Plugins:
- May block downloads
- Check security plugin logs
- Whitelist plugin if needed
Finding Conflicts
- Deactivate all other plugins
- Test if download works
- Reactivate plugins one by one
- Test after each activation
- When it breaks, you found the conflict
Performance Issues
Downloads are slow or timing out.
Large Files
Problem: Large files timeout during download
Solution:
- Increase PHP max_execution_time:
@ini_set('max_execution_time', 300);
- Or use CDN for large files
- Or compress files before uploading
Large ZIPs
Problem: Creating ZIP times out
Solution:
- Increase PHP memory limit
- Increase max_execution_time
- Reduce number of files per product
- Use "Links Only" for large file collections
Server Resources
Problem: Server runs out of resources
Solution:
- Upgrade hosting plan
- Optimize file sizes
- Use CDN for file delivery
- Limit concurrent downloads
Database Issues
Problems with download tracking or limits.
Download Count Not Increasing
Problem: Download count stays at 0
Solution:
- Check if tracking is enabled (Pro feature)
- Verify downloads are actually happening
- Check database for
somdn_dlcountmeta - Clear object cache if using one
Old Download Records
Problem: Too many download records in database
Solution:
- Old records are automatically cleaned up
- ZIP files deleted after 1 hour
- Check cron is running properly
- Manually clean if needed
Verify
After applying a fix, reload the product page (use incognito or a cleared cache), confirm the download button appears or the download completes as expected, and test with a different browser if needed.
Collect for Support
If the fix does not work, collect this information before contacting support:
- WordPress version
- WooCommerce version
- Free Downloads for WooCommerce version (free or Pro)
- PHP version
- Theme name and version
- List of active plugins
- Error messages (exact text)
- Screenshots of the issue
- Steps to reproduce
- Plugin debug log output (see below)
Use the plugin’s debug logging
The plugin has a dedicated Debug section that writes errors and debug messages to a log you can view in settings.
- Go to WP Enhanced > Free Download Woo, then click Debug in the sidebar.
- Turn on Enable Debug Logging and save.
- Reproduce the issue (e.g. try the download again).
- On the same Debug page, open the Free Download Error Logs section to view the log in the browser, or check the log file at
wp-content/uploads/free-downloads-files/free_downloads_log.txt. - Copy the relevant log lines (or attach the file) when contacting support.
- When you’re done, turn Enable Debug Logging off.
For general PHP/WordPress errors you can also enable WordPress debug and check wp-content/debug.log. See Error logs and debugging for details.
Where to get help
Free Edition:
Visit the WordPress.org support forum for Free Downloads for WooCommerce. The WP Enhanced team monitors the forum; you can also search existing topics and get help from the community. Include WordPress version, PHP version, and plugin version when posting.
Pro Edition:
Submit support tickets through the WP Enhanced website. Premium support is included with your license. Include your license key when contacting support.
What's Next
- FAQ – Frequently asked questions
- Settings Reference – Complete settings guide
- Error Logs and Debugging – Advanced debugging
- Support – Getting help