What is Document Preview?
Document Preview for WooCommerce lets you add preview buttons to your product pages. Your customers can view samples of documents, eBooks, PDFs, spreadsheets, and presentations before buying – just like flipping through pages in a bookstore!
Requirements
Before you begin, make sure you have:
- WordPress installed and running
- WooCommerce plugin activated
- Document Preview for WooCommerce plugin installed
Adding Document Previews
Step 1: Navigate to Your Product
- Go to your WordPress dashboard
- Click on Products → All Products
- Click Edit on the product where you want to add a preview
Step 2: Find the Preview Documents Section
Scroll down on the product edit page until you see the “Preview Documents” box. It looks like this:
Preview Documents
Supports: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT files, or direct links from Google Docs, Sheets, OneDrive, Dropbox
Step 3: Add Your Document
You have two options for adding documents:
Option A: Upload a File
- Click the “Choose File” button
- Select your document from the Media Library or upload a new one
- Enter a descriptive name for your document (e.g., “Chapter 1 Sample” or “Product Manual Preview”)

Option B: Use a File URL
- Enter the document name in the first field
- Paste the file URL or sharing link in the second field
- The plugin will automatically detect if it’s from a supported cloud service
Step 4: Save Your Product
Click the “Update” button to save your changes. Your preview button will now appear on the product page!



