PackRoute Box Shipping for WooCommerce
Packs the cart into your own box types and prices shipping from the boxes used.
Install in
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 exportandwp 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.
Written by Joobi from the project's own listing. See the source page
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.
Follow this listing's changes (Atom feed)