
Saral PDF Preview for WooCommerce
v1.2.0Akaal 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+
贡献者
截图
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.


