跳到内容

Saral PDF Preview for WooCommerce

v1.2.0

Akaal Creatives · 2026年5月28日 上架

Add a PDF preview button to WooCommerce product pages. Customers can view a PDF sample in a lightbox without downloading.

正在使用
20+
评分
暂无
累计下载
427
最近更新
2026年5月28日
需要 WordPress 6.5+已测试到 6.9.12PHP 8.1+

截图

Admin settings page — configure button text, hook position, and file serving mode.
Admin settings page — configure button text, hook position, and file serving mode.
The "Preview Book" button on a WooCommerce product page.
The "Preview Book" button on a WooCommerce product page.
The PDF lightbox open on a product page — zoom controls, keyboard accessible, no download option.
The PDF lightbox open on a product page — zoom controls, keyboard accessible, no download option.

Saral PDF Preview lets you attach a PDF file to any WooCommerce product. A configurable button appears on the product page and opens the PDF in a clean, distraction-free lightbox — no download, no print, just a smooth in-browser reading experience powered by PDF.js.

Features

  • Upload a PDF per product via a dedicated meta box in the product editor.
  • Configurable button text (default: “Preview Book”).
  • Choose from 7 hook locations on the product page — a live visual diagram shows exactly where the button will appear.
  • Protected mode (default): the real PDF URL is never exposed to visitors; the file is streamed through a signed REST endpoint.
  • Public mode: uses the standard WordPress attachment URL.
  • Zoom in / zoom out controls inside the lightbox.
  • Keyboard accessible — press Escape to close.
  • Responsive layout on mobile.
  • No tracking, no external requests, no upsells.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums