This is an info Alert.
xpay
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Document Preview For WooCommerce

Document Preview For WooCommerce

Add document previews to WooCommerce product pages. Let customers view PDFs, Word, Excel, and cloud documents before they buy.

100+ active installs
3.3
(3 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Document Preview For WooCommerce running.

WordPress compatibility
Tested to 7.1.5
Tested against the WordPress branch in use today.
Last updated
today
At least 1.4 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
8.1
Your host must be running at least this version.
Requires WordPress
6.5
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
2

100+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Document Preview For WooCommerce is looked after — not on how many stores run it.

92

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 1 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.1.5 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
8 / 15
3.3/5 across 3 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-11-20 from the WordPress.org plugin registry.
Ratings

3.3

3 ratings
5★1
4★1
3★0
2★0
1★1
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

Document Preview For WooCommerce adds a document preview button to your WooCommerce single product pages. When a customer clicks the button, the document opens in a clean modal popup (powered by WordPress Thickbox), allowing them to read or browse the content without leaving the product page — and without downloading the file.

This is the ideal solution for stores selling eBooks, PDFs, templates, spreadsheets, presentations, manuals, and any other digital or downloadable document product. Showing customers a meaningful preview before purchase significantly reduces uncertainty and increases confidence at the point of sale.

How It Works

  1. Edit any WooCommerce product in your admin
  2. Scroll down to the “Preview Documents” meta box
  3. Enter a descriptive label and either upload a file from the Media Library or paste a document URL
  4. Save the product
  5. A “Preview” button appears on the product page automatically, just below the Add to Cart form
  6. Customers click the button to open the document in a full-size modal popup

Key Features

Supported File Formats

  • PDF (.pdf) — rendered locally on your site by the bundled pdf.js viewer, with no request to Google or any third party (works on local, staging, and firewalled sites)
  • Word Documents (.doc, .docx) — previewed via Google Docs Viewer (needs a publicly reachable file URL)
  • Excel Spreadsheets (.xls, .xlsx) — previewed via Google Docs Viewer (needs a publicly reachable file URL)
  • PowerPoint Presentations (.ppt, .pptx) — previewed via Google Docs Viewer (needs a publicly reachable file URL)
  • Plain Text (.txt) — displayed in a formatted text reader

Cloud Document Support

  • Google Docs — paste a published or shareable Google Docs link
  • Google Sheets — paste a shareable Google Sheets link
  • Google Slides — paste a shareable Google Slides link
  • OneDrive — paste a Microsoft OneDrive shared document link
  • Dropbox — paste a Dropbox shared link (automatically converted for embedding)

Document Management

  • Multiple documents per product — add as many preview files as needed
  • Each document gets its own labelled preview button on the product page
  • Upload files directly from the WordPress Media Library
  • Or paste any external document URL — no file upload required
  • Remove individual documents without affecting others

Preview Display

  • Documents open in a WordPress Thickbox modal popup (900x700px)
  • Customers stay on the product page while previewing
  • Clean, focused preview experience with no distractions
  • Supported on all modern desktop and mobile browsers

Performance and Compatibility

  • Minified CSS and JavaScript assets included
  • RTL (right-to-left) stylesheet support
  • Mobile-responsive preview button and modal layout
  • Compatible with standard WooCommerce product page hooks
  • No external JavaScript libraries required beyond jQuery and WordPress Thickbox

Perfect For

  • eBook stores (PDF previews of chapters or sample pages)
  • Template marketplaces (Word/Excel/PowerPoint template previews)
  • Software documentation (user manual previews)
  • Legal and compliance document stores (contract templates)
  • Educational resource stores (worksheet and course material previews)
  • Any WooCommerce store where document content is central to the buying decision

Pro Version

A Pro version is available with advanced features including document watermarking, partial-page preview control, and multi-vendor marketplace support. Visit wbcomdesigns.com for details.

Does this plugin require WooCommerce?

Yes. Document Preview For WooCommerce requires WooCommerce 3.0 or higher to be installed and active. The plugin will deactivate itself automatically if WooCommerce is not active, and will display an admin notice with a link to install or activate it.

What document file types are supported?

Locally uploaded files: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, and TXT.

Cloud and embeddable URLs: Google Docs, Google Sheets, Google Slides, OneDrive, and Dropbox shared links are all supported and automatically embedded without requiring a file upload.

Can I add more than one document preview per product?

Yes. Each product can have multiple document previews. Use the “Add” button in the Preview Documents meta box to add as many rows as needed. Each document gets its own labelled preview button on the product page, so customers can select which document they want to view.

Should I upload files or use external URLs?

Both approaches work. Uploading files to the WordPress Media Library gives you full control over the files and keeps them on your server. Using external URLs (Google Drive, Dropbox, OneDrive) avoids using server storage and is convenient for documents you already host elsewhere. Note that external URLs must remain publicly accessible for the preview to work.

Can customers download the preview files?

The preview is designed as a view-only experience inside a modal popup. PDFs open in the bundled pdf.js viewer and Office files open in the Google Docs Viewer, both read-only interfaces. Some browsers may still offer download options from within the viewer frame, but there is no direct download link exposed through the plugin.

How does the modal preview work?

The plugin uses WordPress’s built-in Thickbox library to open documents in a full-screen overlay modal. The document is embedded in an iframe within the modal. Customers can close the preview by clicking outside the modal or pressing Escape.

What happens if a preview is not loading?

Common causes and fixes: (1) PDFs render locally via the bundled pdf.js viewer and do not depend on Google — so a PDF that will not load is usually a file-path or cache issue, not a reachability one. Office formats and cloud links do need a publicly accessible URL; privately shared Google Drive or Dropbox links will not load. (2) Confirm the file format is supported (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT). (3) Clear your site cache and browser cache. (4) Try a different browser or disable browser extensions. (5) Keep files under 50MB for reliable rendering. For persistent issues, contact the support team with details about the file type and hosting method.

Is the plugin compatible with Google Docs, Sheets, and Slides?

Yes. Paste a shareable link from Google Docs, Google Sheets, or Google Slides into the URL field. The plugin detects these URLs and embeds them using the appropriate Google preview endpoint, so customers see a clean, interactive preview of the document.

Does the plugin work with Dropbox or OneDrive links?

Yes. Dropbox shared links are automatically converted to direct embed URLs. OneDrive shared links are also supported and embedded via the Office Online viewer. Make sure your sharing settings allow public access to the linked file.

Is the plugin translation ready?

Yes. The plugin is fully internationalised with a .pot translation template file included. You can add translations through translate.wordpress.org or by placing .po/.mo files in the plugin’s languages/ directory.

Categories
Invoicing & accounting
Plugin details
Version1.6.4
Last updated2026-11-19 9:08pm GMT
Added2017-01-10
Requires WordPress6.5
Tested up to7.1.5
Requires PHP8.1

Tags on WordPress.org
document
pdf
preview
product documents
woocommerce
Alternatives
Other plugins in the same categories.
PDF Invoices & Packing Slips for WooCommerce
300K+ installs
5.0(1,863)
WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels
50K+ installs
4.9(284)
Fattura24
400+ installs
4.9(96)
WebPlanex: GST Invoice India
400+ installs
5.0(36)
Printus – Automatic Cloud Order Printing for WooCommerce
800+ installs
5.0(26)
Print Invoice & Delivery Notes for WooCommerce
30K+ installs
4.4(138)
xpay

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy