Linux 软件免费装
Banner图

Print Trail for WooCommerce

开发者 consiliencemedia
更新时间 2026年10月30日 18:05
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

book API dropshipping orders fulfillment

下载

1.1.0 1.2.0 1.2.1 1.3.0 1.0.4 1.0.5 1.0.6

详情介绍:

Print Trail for WooCommerce connects your store to Print Trail, so orders containing Print Trail books and other printed products are shipped to your customers automatically. An active Print Trail account is required. The plugin does nothing until you connect it to a Print Trail channel. Visit printtrail.com to find out more and open an account. Print-on-demand products will be supported in a future version; this version handles stock-managed Print Trail products. The plugin is compatible with WooCommerce High-Performance Order Storage (HPOS) — all order data is accessed through the WooCommerce CRUD API. Read the Print Trail documentation at docs.printtrail.com. Print Trail is a service of Consilience Media Limited (registered in England and Wales, company number 04214205), which publishes and maintains this plugin as the official WooCommerce integration for its own platform. WooCommerce is a trademark of Automattic Inc.; this plugin is an independent integration and is not affiliated with or endorsed by Automattic.

安装:

  1. Install and activate WooCommerce (version 8 or later).
  2. Upload the plugin to /wp-content/plugins/print-trail-for-woocommerce/, or install it through the WordPress plugins screen.
  3. Activate the plugin.
  4. In your Print Trail admin, create a channel and issue API credentials.
  5. Go to WooCommerce → Settings → Print Trail, paste in your channel ID and API token, and save. The webhook is registered with your channel automatically when you save or use "Test connection", and its signing secret is filled in for you; the Connection section shows where Print Trail is sending.
  6. Flag the products (or variations) that Print Trail fulfils on the product inventory tab.

屏幕截图:

  • The settings tab shows the connected channel and team, and which shipping methods map to Print Trail.
  • Products flagged "Fulfilled by Print Trail" are checked against the Print Trail catalogue the moment you flag them.
  • The Print Trail panel on the order screen: Print Trail order number, status and per-fulfilment tracking.
  • Tracking is added to the order as a customer-visible note as soon as each fulfilment dispatches.

升级注意事项:

1.0.1 Stops a replayed or late-delivered stock webhook overwriting current stock, and clears the unrecognised-SKU notice as soon as a product is fixed. No settings changes. 1.0.0 First WordPress.org release. Requires WooCommerce 8 or later and PHP 8.1 or later. The plugin folder is now print-trail-for-woocommerce. If you installed an earlier build, activate this version, deactivate the old entry and remove its folder over SFTP/SSH rather than deleting it (see the FAQ).

常见问题:

How do I install and configure the Print Trail plugin?

Click the Installation link on this page.

Can an order mix Print Trail and non-Print Trail products?

Yes. Only the lines flagged as fulfilled by Print Trail are sent to Print Trail; you fulfil the rest as usual. The WooCommerce order completes independently of the non-Print Trail part.

Why does one order show more than one fulfilment?

Print Trail may split an order across production locations. Each fulfilment ships separately with its own tracking, and the order screen shows a row per fulfilment. Tracking notes are added as each fulfilment dispatches.

When is an order sent to Print Trail?

At checkout, the order's Print Trail items are sent to Print Trail as a draft. When the order is paid (it moves to Processing or Completed), the plugin confirms the draft. Print Trail then holds the confirmed order for a short countdown before production starts. Until then its items can still change; see the next two questions. An order that is pending payment, on hold, cancelled or refunded is never confirmed. If Print Trail is short of stock when a paid order is confirmed, the order is put on hold with a note naming the shortfall, and confirmation is retried.

Can I edit an order after it has been sent to Print Trail?

Yes, until Print Trail starts production. Make the change on the WooCommerce order screen and click Update.

  • Not yet confirmed: the whole order is sent again, including any change to the delivery address.
  • Confirmed, not yet in production: changes to Print Trail items are sent: a quantity changed, an item removed or an item added. Print Trail updates the order and rebuilds its fulfilments, so fulfilment numbers can change. The order stays confirmed and its countdown starts again. Print Trail's summary of the change is added as an order note. An address change is not sent once the order is confirmed; make it in Print Trail.
  • In production: the order can no longer change. The order note gives Print Trail's reason. Review the order in Print Trail, and cancel it there if it should not ship as it stands.
Removing every Print Trail item cancels the Print Trail order; the rest of the WooCommerce order is unaffected. If Print Trail refuses a change (for example, not enough stock for a higher quantity), its reason is added as an order note and the Print Trail order stays as it was. Saving without changing the Print Trail items, such as a status change, leaves the Print Trail order alone. WooCommerce only lets you edit the items of a pending or on-hold order. To take items off a paid order, use a partial refund.

How do partial refunds work?

A partial refund of Print Trail items is sent to Print Trail the same way as an edit, until production starts. A refunded quantity comes off the line, and a fully refunded line is removed. Refunding every Print Trail item cancels the Print Trail order, while the rest of the WooCommerce order carries on. If the order is paid but confirmation was blocked by the line you refunded, the order is confirmed once the refund removes it. Once production has started, the refund cannot change the Print Trail order, and the order note gives Print Trail's reason. A refund that does not touch Print Trail items, such as a shipping refund or a refund of products Print Trail does not fulfil, leaves the Print Trail order alone.

What happens when I cancel or fully refund an order?

Changing the WooCommerce order to Cancelled or Refunded asks Print Trail to cancel its order. Before production starts, the cancellation is immediate. If Print Trail has already started on the order, the WooCommerce order screen opens a confirmation dialog first, naming the fulfilments involved and what cancelling will and will not undo. You can back out or continue. If you continue, the plugin asks Print Trail to cancel everything it can. Any fulfilment that has already left the warehouse cannot be pulled back, so the order gets a note naming those fulfilments and their status, telling you the items are still on their way. If Print Trail cancels a confirmed order itself, the WooCommerce order is put on hold with a note, so you can refund the customer or re-order the items.

How do pre-orders work?

To sell a product on pre-order:

  1. Flag the product (or variation) as fulfilled by Print Trail, and check that its Print Trail SKU is matched.
  2. Tick "Manage stock?" on the product or variation, so the plugin can open and close sales for you. Without it the product is still labelled as a pre-order, but WooCommerce sells it according to the stock status you set.
  3. In Print Trail, put the product on pre-order. You can also set a pre-order limit and a publication date.
  4. Within about ten minutes, the product shows as a pre-order in WooCommerce. Its edit screen says so under the Print Trail SKU, and the Products list marks it in the Stock column.
What releases a pre-order. Setting the product to active in Print Trail. Customers see the publication date as the expected release date, but nothing happens on that date: Print Trail holds the pre-orders until you set the product to active. Pre-order limits. With a limit set in Print Trail, WooCommerce stops selling once the limit is reached, and the product page says "Out of stock". Without a limit, customers can order any quantity. After release. Your own backorder setting comes back and the pre-order labels leave the product. On orders, each pre-order line says "Pre-order: released" once Print Trail releases it. Print Trail ships the items, and tracking follows as usual. A paid pre-order is confirmed as usual, and the order notes say that Print Trail is holding it. With auto-complete on, an order of Print Trail products completes only once everything has shipped.

What do customers see when they buy a pre-order?

  • Product page: "Available for pre-order. Expected release: 1 December 2026." in place of the stock line, with the date in your site's date format.
  • Button: "Pre-order" in place of "Add to cart" for simple products, on the product page and on shop pages. Variable products keep "Select options", and the selected variation shows the pre-order stock line.
  • Basket and checkout: "Pre-order: expected release 1 December 2026" under the item, in the classic and the block basket and checkout.
  • Order emails, the order received page and My Account: the same line under the item. Once Print Trail releases the item, it says "Pre-order: released".
Without a publication date in Print Trail, or once the date has passed, the date is left out: the product page says "Available for pre-order" and the line says "Pre-order: ships when released".

Can one order mix pre-order and in-stock items?

Yes. The in-stock items ship straight away and the pre-order items follow when they are released, each with its own tracking.

What happens if a product SKU is not recognised by Print Trail?

The plugin flags the order with the unmatched SKUs and blocks confirmation until it is resolved, so an order is never shipped short.

What if my products don't track stock?

That's fine. If a product has "Manage stock?" switched off (or stock management is disabled site-wide), the stock sync simply skips it — it never forces stock management on and never writes a quantity. Order fulfilment still works normally. Bear in mind that the shopper is not told about Print Trail stock at any point: WooCommerce's own stock figure is what gates the basket and checkout, so with stock management off a shopper can buy and pay for a product Print Trail has run out of. Print Trail checks its actual stock when the paid order is confirmed; if it is short, the order is placed on hold with a note naming the shortfall, and you decide whether to wait for a restock or refund. Stock sync also only ever writes a product/variation that manages its own stock; a variation whose stock is managed by its parent is left alone so two variations never overwrite the parent's shared quantity.

Do I need to copy the webhook secret?

No. When the plugin registers its webhook, Print Trail returns the secret that signs your webhooks and the plugin saves it. If you think the secret may have been exposed, use "Rotate webhook secret" in the Print Trail Connection section: Print Trail issues a new one, and the old one is still accepted for 4 hours so deliveries already on their way are not refused.

Can I move my store to a different Print Trail channel?

Yes, but an API token only reaches orders created through its own channel. Orders sent under the old channel can no longer be read or updated with the new channel's token, so finish them, or keep the old channel's settings, before you switch.

Is High-Performance Order Storage (HPOS) supported?

Yes. The plugin declares HPOS compatibility and uses only the WooCommerce CRUD API for order data.

更新日志:

1.3.0 1.2.1 1.2.0 1.1.0 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0 First release on WordPress.org. 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0