| 开发者 | layoutfoundry |
|---|---|
| 更新时间 | 2026年11月1日 03:14 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-content/uploads/layout-foundry/ on your server, with random file names. The folder cannot be listed.assets/embed/ are built from the TypeScript in the source/ folder of this plugin with esbuild. The build steps are in source/BUILD.md.
The PDF print file uses pdf-lib 1.17.1 (MIT licence), source at https://github.com/Hopding/pdf-lib.
wp-content/plugins/, then activate it.In wp-content/uploads/layout-foundry/ on your server. Open the order in WooCommerce > Orders to see the preview and download the files. The links work only for users who can manage WooCommerce.
14 days from the moment the shopper approves the sheet. Download the files you need before then. A sheet that is still in a basket after 14 days is removed from that basket with a notice.
A long PNG sheet at 300 DPI can be tens of megabytes. Your server's upload limits (upload_max_filesize and post_max_size in PHP) must be larger than the print file. Your host can raise them. The PDF print file is usually smaller.
The builder starts a background worker from the file beside its script, and browsers only allow that from your own domain. If a CDN or optimisation plugin moves scripts to another domain, exclude wp-content/plugins/layout-foundry-gang-sheets/assets/embed/ from it.
Simple products. The price you set is the price of one pricing unit, and the quantity is the number of pricing units in the sheet.
Yes, product by product. In Product data > General, with "Gang sheet builder" ticked, set "Customers can" to "Build a sheet or upload a finished one" or "Upload a finished sheet only". The default is "Build a sheet". A finished sheet is one PNG made at its print size, with its DPI saved in the file, no wider than your film (2 mm is allowed for rounding). The shopper's browser reads its size and shows the length, the rounding and the quantity they pay for before they approve it; your server reads the length from the file again and sets the quantity, as for a built sheet. A file with no DPI saved is refused, because its length cannot be read. The file is stored, listed on the order screen and deleted after 14 days like any other sheet. Sticker products build only: their sheets need the builder's cut lines.
The builder tries a rectangle layout and a shape-aware layout and keeps the shorter one. It is an efficient layout; it is not proven to be the shortest possible.