Linux 软件免费装
Banner图

LayoutGlut - PDF, Doc, Excel, Image and more File preview for WooCommerce

开发者 appglut
更新时间 2026年11月6日 13:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce pdf viewer document viewer downloadable products file preview

下载

3.1.0 3.1.1 3.1.2 3.2.0 3.3.0 3.0.0 1.0.0 3.0.1

详情介绍:

Selling ebooks, templates, worksheets, spreadsheets, sheet music or courses? LayoutGlut adds a preview of your files to WooCommerce products, so customers can look inside before they buy. [youtube https://www.youtube.com/watch?v=D7MIbXhqSDo] Where previews show What can be previewed Per product A "File Preview" box on the product edit screen: pick the product's downloadable files, a file from the media library (for example a free sample) or a link; label, order and switch each one on or off; show or hide previews for one product. Admin Good to know The Google Docs viewer has to download the file from your site, so documents only preview on a site that is reachable from the internet, and only for files with a public URL (not files in the protected WooCommerce downloads folder — upload a sample to the media library instead). Images, video and audio work everywhere. LayoutGlut Pro renders PDF (PDF.js), Word (DOCX) and Excel (XLSX, XLS, ODS, CSV) on your own site through signed, expiring links, works on local and private sites and with protected files, and adds preview limits for non-buyers with a buy box, watermarks, copy protection, buyer and role access rules, previews in My Account › Downloads and preview analytics.

安装:

  1. Upload the layoutglut folder to /wp-content/plugins/ and activate it (WooCommerce must be active).
  2. Edit a product and add files in the File Preview — LayoutGlut box.
  3. Pick a page design in LayoutGlut › Global Settings › Product Page, and fine-tune it in the Page Builder tab.

屏幕截图:

  • A Preview button on shop and archive product cards.
  • The preview popup with all of a product's files.
  • Preview Files: every product with previews, its file types and on / off switches.
  • Global Settings: the page design and how previews open.
  • The File Preview box on the product edit screen.
  • Tools: system status, export / import and reset.
  • LayoutGlut Pro: the PDF.js viewer with a 3-page limit and a buy box.
  • LayoutGlut Pro: an Excel workbook with its colors, merged cells and number formats.
  • LayoutGlut Pro: secure links, copy protection and watermark settings.

升级注意事项:

3.3.0 Block themes now use LayoutGlut templates for the product, shop, archive and search pages (theme header and footer are kept). Untick them in Global Settings › Advanced › Block themes to keep the theme templates. 3.2.0 The product page is now set by the Page design only: the old "Position" setting (tab, below add to cart, above / below tabs) is removed. Choose a page design in Global Settings › Product Page. 3.1.2 The admin screens now use the LayoutGlut pink accent color. No action needed. 3.1.1 New logo and admin menu icon matching the plugin icon. No action needed. 3.1.0 Adds the Page Builder with ready-made preview page designs and in-browser Word / Excel viewing. No action needed. 3.0.1 Small improvements and new screenshots, icon and banner. No action needed. 3.0.0 LayoutGlut is now a file preview plugin. The product, shop and archive page layouts of version 1.x are removed; your theme's WooCommerce templates are used again.

常见问题:

The PDF / Word preview stays blank

The Google Docs viewer cannot reach local sites (localhost, .local, .test) or files behind a login. Check LayoutGlut › Tools › System status. Use a public sample file, or LayoutGlut Pro for on-site rendering.

Can customers download the file from the preview?

Files in the WooCommerce protected folder are never given out by the free plugin. Media library files you add as samples are public files, like any media file.

Does it work with my theme?

Previews are added with standard WooCommerce hooks and blocks. If your theme prints its own product cards, the shop button attaches to the add to cart button; the shortcode works anywhere.

更新日志:

3.3.0 3.2.0 3.1.2 3.1.1 3.1.0 3.0.1 3.0.0