PackRoute Box Shipping for WooCommerce

Description

PackRoute adds a “Box Rate” shipping method to WooCommerce shipping zones. You enter the boxes you really ship in (inner size, empty weight, padding, maximum load, price per box). At checkout PackRoute packs the cart into as few boxes as it can, charges the price of the boxes it used plus an optional handling fee, and can pass the weight including packaging to Flexible Shipping rules.

What you get

  • A box library with as many box types as you ship in, CSV import and export, and units in your store’s cm, in, m, mm, yd, kg, g, lb or oz.
  • Required boxes: restrict a product or a category to certain box types (a product setting wins, several categories intersect), and mark products that must stay flat.
  • A pure PHP 3D packing algorithm (First Fit Decreasing, six orientations, deterministic, 150 ms time budget, weight-only mode for very large carts or missing dimensions). No external service, no API key.
  • Box Rate works with the classic and the block checkout, with HPOS on or off. If nothing fits you choose between a fallback price and hiding the method; checkout never breaks.
  • Weight including packaging (boxes, padding and an optional percentage on the products) for Flexible Shipping weight rules. Flexible Shipping is optional.
  • A packing plan stored with every order (which products in which box, utilisation, price per box, why that box was chosen) and shown on the order screen. It contains no address, email or phone number.
  • An estimator in the admin: choose products and a country and see exactly what checkout would show.
  • Rule versions: every change to boxes, required-box rules and Box Rate settings is saved as a version; roll back after previewing the differences. How many versions are kept is a setting (five by default).
  • A data check that lists products without dimensions or weight, with CSV export.
  • WP-CLI: wp packroute simulate, wp packroute boxes export and wp packroute boxes import.

Privacy and performance

The plugin makes no outgoing requests. Nothing is loaded on the storefront. Settings are not autoloaded.

Development

The admin app in build/ is compiled with @wordpress/scripts from the readable source in assets/src/, which ships with the plugin. To rebuild it, run npm install && npm run build in the plugin directory (see package.json). vendor-prefixed/ holds the plugin’s own copy of the shared Rotosix library as plain, unminified PHP.

Installation

  1. Install and activate WooCommerce, then PackRoute.
  2. Open Rotosix > PackRoute and follow the three-step guide: units, your boxes, add Box Rate to a shipping zone and run an estimate.
  3. Make sure your products have dimensions and weight (the “Data check” tab lists the ones that do not).

FAQ

What does it not do?

It does not buy labels, query carrier rates or track parcels. It does not simulate gravity or stacking stability: a plan is geometrically valid (nothing overlaps, nothing is outside a box, no box is overloaded) but it is a heuristic, not the guaranteed minimum number of boxes.

What happens when a product is larger than every box?

You choose per Box Rate: charge the fallback price, or hide the shipping method. The order records that the fallback was used and why.

Products without dimensions?

The cart is priced by weight only (volume is ignored) and the product is listed in the data check. The customer sees nothing.

Does it work with Flexible Shipping?

Yes, optionally. With Flexible Shipping (free or PRO) active, its weight rules receive the weight including packaging. If a future Flexible Shipping version offers no way to do this, the adapter switches itself off and Site Health says so; Box Rate keeps working.

Where is my data stored and what happens on uninstall?

Boxes live in the table {prefix}packroute_boxes, rule versions in the plugin’s own tables, the packing plan in the order meta _packroute_snapshot. By default uninstalling keeps everything. Switch on “Delete all data when the plugin is deleted” in the settings to remove it. Orders and shipping zones are never touched. Packing plans are removed after 24 months by default (3 to 60 months or never).

Can I read the packing result from my own code?

Yes: the filter packroute_packages receives the packages (same structure as the order snapshot) and the WooCommerce package. It is read-only.

Is any feature limited or paid?

No. Every feature is in this plugin and fully usable: no licence key, no trial, no usage limit.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“PackRoute Box Shipping for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.1.0

  • First release: box library, required boxes, 3D packing, Box Rate shipping method, packaging weight, Flexible Shipping adapter, order packing plan, estimator, rule versions with rollback, CSV import/export, data check, setup guide, uninstall options.