Linux 软件免费装
Banner图

Layout Foundry Gang Sheets

开发者 layoutfoundry
更新时间 2026年11月1日 03:14
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce print transfers gang sheet dtf

下载

0.1.0

详情介绍:

Layout Foundry Gang Sheets adds a gang sheet builder to the WooCommerce products you choose. It is for shops that print DTF transfers, UV DTF or stickers and charge by the length of film. The shopper adds PNG or JPG designs, sets the width and number of copies for each one, and checks the layout. The builder packs the designs across your film width in an efficient layout, shows the length, the film left without ink and every position as text beside the preview, and makes a print-ready file. When the shopper approves the sheet, the file is saved on your own server and the basket quantity is set from the sheet length. What the plugin does Settings WooCommerce > Gang sheets: Turn the builder on for a simple product under Product data > General > Gang sheet builder. Set the product price to the price of one pricing unit. For stickers, set Cut line margin (mm) on the same tab, from 0 to 5 mm. Leave it blank for gang sheets without cut lines. Privacy The plugin adds suggested text to Settings > Privacy that you can copy into your privacy policy. Free Every feature on this page is free and has no usage limit. Source code The builder is written in TypeScript. The files in 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.

安装:

  1. Install and activate WooCommerce 8.5 or later.
  2. Install Layout Foundry Gang Sheets from Plugins > Add New, or upload the plugin folder to wp-content/plugins/, then activate it.
  3. Open WooCommerce > Gang sheets and set your film width, spacing, minimum length and pricing unit.
  4. Edit a simple product, tick Product data > General > Gang sheet builder, and set the price of one pricing unit.
  5. Open the product page and build a test sheet.

屏幕截图:

  • The approved sheet with the basket quantity set from its length.
  • The basket line with the sheet length.
  • The order screen with the preview and download links, visible to shop managers only.
  • The settings page under WooCommerce > Gang sheets.

升级注意事项:

0.1.0 First release.

常见问题:

Where are the print files?

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.

How long are files kept?

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.

Why does a large sheet fail to save?

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.

Does it work with a CDN or a script optimisation plugin?

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.

Which products can use the builder?

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.

Can shoppers upload a finished gang 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.

Is the layout the shortest possible?

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.

更新日志:

0.1.0