Release notes / Document Preview For WooCommerce
Free Plugin Plugin

Document Preview For WooCommerce

Buyers of eBooks, templates, and reports want to flip a few pages before committing. Document Preview adds a preview button to your WooCommerce product pages so customers can sample PDFs, Word files, Excel sheets, and presentations right on the page, the same way you'd browse a book in a store.

18 releases
v1.6.3 latest
September 12, 2026 shipped

v1.6.3 Latest

September 12, 2026
Improve 1 Dev 3

Improve

  • Admin settings radio options no longer wrap mid-label and stack cleanly on phones (settings-bridge migration).

Dev

  • Added the wcdp_admin_view_path filter so a Pro or third-party screen can change which view file a settings tab renders.
  • Bridged the shared shell's wcdp_settings_nav_groups filter and wcdp_settings_tab_content action so extensions can register settings tabs.
  • Corrected the hooks reference (now covers all extension points), fixed the hook-docs generator, and removed dead scaffolding.

v1.6.2

September 11, 2026
New 3 Improve 2 Fix 3 Security 1 Dev 3

New

  • Local PDF previews now render through a bundled pdf.js viewer instead of Google's servers, so they work on staging, local, password-protected and firewalled sites.
  • Added a [document_preview] shortcode and a Document Preview block so owners can place the preview anywhere, including product tabs and the Site Editor.
  • Rebuilt the admin panel around an Overview screen where owners can see, filter, sort, export and query every document the store has attached.

Improve

  • Plugin colours now bridge to the active theme's design tokens, and per-format colours are overridable per site.
  • Preview button and viewer now announce themselves to assistive technology, with visible focus rings and an undo action in place of the blocking confirm dialog.

Fix

  • Documents attached to grouped, external, out-of-stock and catalogue-mode products now show a preview.
  • OneDrive, Dropbox folder and SharePoint share links that saved but never rendered now preview correctly through one shared document-source detector.
  • The local-environment developer notice no longer shows to logged-in shoppers and now appears only on the product edit screen for the store owner.

Security

  • Removed the unauthenticated document-delete AJAX endpoint that could be reached without login.

Dev

  • Added WCDP_Documents, WCDP_Renderer and WCDP_Document_Source as subclassable seams with documented filters (wcdp_renderer_for_document, wcdp_document_sources, wcdp_preview_hook, wcdp_render_preview) for Pro and third parties.
  • Added a PHPUnit test suite, WPCS coding standards, a generated hook reference and a CI workflow running PHP lint, PHPStan and WPCS.
  • Fixed distribution packaging to ship only runtime vendor code and exclude dev dependencies from the release zip.

v1.6.1

Improve 3 Fix 4 Compat 1

Improve

  • Uninstall cleanup now properly removes all plugin data (post meta, options) when deleted
  • Rebuilt minified CSS and RTL stylesheets
  • Legacy BuddyPress code reference that was a copy-paste artifact

Fix

  • Text domain corrected to match plugin slug for full translation compatibility
  • Replaced unsafe global $post usage with WooCommerce-safe product retrieval for page builder compatibility (Elementor, Divi, Beaver Builder)
  • Hardcoded button and UI colors replaced with CSS custom properties for better theme integration
  • Plugin options now use autoload=false to reduce database overhead on every page load

Compat

  • WordPress 6.9 and WooCommerce 9.x compatibility

v1.6.0

Improve 3 Fix 1

Improve

  • Validation logic to allow product saving without requiring a document upload
  • Error handling for smoother product management workflow
  • Groundwork for minified asset delivery and RTL stylesheet distribution

Fix

  • Issue preventing product publishing when no document had been added to the Preview Documents meta box

v1.5.0

New 5 Improve 5 Fix 3 Note 1

New

  • Google Docs Viewer integration for PDF and Office document preview on live sites
  • Local development preview endpoint with native browser PDF rendering
  • Dropbox shared link integration with automatic URL conversion for embedding
  • Google Sheets and Google Slides shared link support
  • Default file icon for unsupported or unrecognised document formats

Improve

  • Document preview UI on both single product and product edit pages
  • Mobile view styling for the preview button and document display area
  • XLS file compatibility for preview and download
  • Admin settings screen icons and Pro tab layout
  • Removed debug logs, duplicate CSS, and unused files

Fix

  • DOCX content rendering issues via Google Docs Viewer
  • FAQ accordion functionality and early text domain loading
  • Various PHPCS coding standard issues

Note

  • Media Library upload integration for document files

v1.4.4

New 1 Fix 2 Compat 1

New

  • Tooltip on the Preview Documents meta box fields

Fix

  • PHP 8.0 compatibility
  • iframe preview layout on mobile devices

Compat

  • WordPress 6.5 compatibility confirmed

v1.4.3

Improve 1 Fix 3

Improve

  • Preview item button UI design

Fix

  • PHPCS coding standard issues
  • Plugin activation redirect when multiple plugins are activated simultaneously
  • Admin notice conflict with BuddyBoss admin bar

v1.4.2

Improve 1

Improve

  • Wbcom shared admin wrapper to current version

v1.4.1

Improve 1 Fix 3

Improve

  • Plugin documentation link

Fix

  • Backend admin UI rendering on the product edit screen
  • Plugin showing wp_die on activation when WooCommerce is not active; replaced with admin notice
  • Fatal error on plugin activation in some environments

v1.4.0

Fix 3

Fix

  • PHPCS compliance fixes throughout codebase
  • Undefined variable error
  • Removed install plugin button from admin wrapper

v1.3.0

New 1 Fix 3

New

  • Pro features preview in disabled mode in the admin settings

Fix

  • Blank area on product page when no document is attached
  • Activation redirect issue
  • Cannot upload supported XLS file format

v1.2.0

Fix 3

Fix

  • Deprecated jQuery .live() function replaced with .on()
  • Add button CSS class update
  • PHP notices and warnings

v1.1.0

Improve 1

Improve

  • Compatibility with WooCommerce 4.0

v1.0.4

Improve 1

Improve

  • Compatibility with WooCommerce 3.6.2

v1.0.3

Improve 1

Improve

  • WooCommerce 3.5.2 compatible

v1.0.2

Improve 1

Improve

  • General compatibility testing with current WooCommerce and WordPress releases

v1.0.1

Improve 1

Improve

  • General compatibility testing

v1.0.0

Note 1

Note

  • Initial release