Linux 软件免费装
Banner图

Product Document Viewer for WooCommerce

开发者 coderalamin
更新时间 2026年9月26日 23:25
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce product preview document preview pdf preview file preview

下载

1.3.1 1.0.0 1.1.0 1.1.2 1.1.3 1.2.0 1.1.1 1.3.0

详情介绍:

Product Document Viewer for WooCommerce adds a simple document preview button to your WooCommerce store, allowing customers to view supported documents directly from the product page before making a purchase. It's ideal for books, ebooks, digital products, catalogs, brochures, product guides, course materials, sample chapters, and other document-based products. Instead of asking customers to download a file or leave the product page, you can give them a quick preview of the content and help them make a more informed purchasing decision. PDFs are previewed using the browser's own built-in viewer. Word, Excel, and PowerPoint files are previewed using Microsoft's Office Online viewer. Key Features Perfect For How It Works
  1. Add a supported document to your WooCommerce product.
  2. Configure the preview settings.
  3. A preview button is displayed on the product page.
  4. Customers can preview the document before deciding to purchase.
The preview opens without requiring customers to download the original file first.

安装:

From the WordPress Dashboard
  1. Log in to your WordPress dashboard.
  2. Go to Plugins > Add New Plugin.
  3. Search for Product Document Viewer for WooCommerce.
  4. Click Install Now.
  5. Click Activate.
Manual Installation
  1. Download the plugin ZIP file.
  2. Go to Plugins > Add New Plugin > Upload Plugin.
  3. Select the plugin ZIP file.
  4. Click Install Now.
  5. Activate the plugin.
Configuration
  1. Make sure WooCommerce is installed and activated.
  2. Edit a WooCommerce product.
  3. Add the document(s) you want customers to preview under the "Document Preview Files" field.
  4. Open WooCommerce > Document Viewer to configure the preview button, position, and styling.
  5. Visit the product page and test the preview.

屏幕截图:

  • Document preview opened in a lightbox.
  • Plugin settings page under WooCommerce.

升级注意事项:

1.3.0 Rebrand and multiple bug fixes. Settings and existing product preview files are migrated automatically — no manual steps required.

常见问题:

What file types are supported?

The plugin supports PDF, Microsoft Word, Excel, and PowerPoint documents.

Can I customize the preview button?

Yes. You can customize the button styling and position from WooCommerce > Document Viewer.

Can I use a shortcode to place the preview button?

Yes. Use the [pdvwc_preview_button] shortcode to display the preview button anywhere supported by your theme's layout. You can optionally pass specific attachment IDs: [pdvwc_preview_button media_ids="123,456"].

I upgraded from an older version — did my settings and uploaded files carry over?

Yes. The plugin runs a one-time migration on upgrade that copies your existing button settings and any documents already attached to products into the new format automatically. No action is needed.

Will it work with my WooCommerce theme?

The plugin is designed to work with WooCommerce-compatible themes. Most themes should work without additional configuration, although heavily customized themes may require additional styling.

更新日志:

1.3.0 1.2.2 1.2.1