Take advantage of a new feature presented in WooCommerce 2.1 and split your cart into packages to offer your users multiple shipping selections. Packages can group products for shipping based on:
- shipping classes
- any product meta field
- product owner (vendor using many WC vendor plugins)
- on a per product basis.
Each package will have its own shipping selection under the shipping section of your cart and checkout forms,
to the customer can choose a different shipping method for each.
This plugin can limit which shipping methods are used for each package.
Using the provided table, match each shipping class to its applicable method, or leave it blank to include them all.
This plugin is designed as a simplistic UI for users who want to ship their cart items in separate packages.
The actual functionality of multiple shipping options is provided through WooCommerce 2.1+ but it has no
WooCommerce does nto handle the progress of shipping packages beyond the selection of shipping methods in the
checkout. This plugin does link the order shipping lines and product lines together usign metadata however,
so custom plugins can make use of those links.
The project is maintained on github, and issues are tracked there:
The plugin can be downloaded from wordpress.org here:
Banner Photo: “Container” by Izabela Reimers via Flickr Creative Commons
- WooCommerce 2.1 or greater
- WordPress 3.8 or greater
- PHP version 5.3 or greater
Installation through FTP
- Upload the entire
wc-multiple-packagesfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- That’s it! You will find a new tab under your WooCommerce > Settings page to set up the plugin
- What happened to the item details for each shipping method after an order is placed?
By default, WooCommerce does not keep track of which shipped item was sent through which shipping method.
This plugin does keep track. It will create a custom meta field “_shipping_line_id” on each item line,
containing the numeric ID of the shipping line that it corresponds to.
It will also build a custom meta field “_order_line_ids” on each shipping line, pointing to the IDs of the
item lines that it shipped. At the moment this a bar-separated list (e.g. 1|2|3) but may change to an array.
The WooCommerce V2 and V3 REST API will expose the meta fields for the item lines, but does not expose any
meta fields for the shipping lines.
Contributors & Developers
“Packages Configuration for WooCommerce” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Additional package grouping rules.
- Now compatible with plugin “Product Delivery Date Pro for WooCommerce”.
- Support for network-enabled multisite.
- Issue #9 Checkout packages not disabled when the shipping method was disabled.
- Issue #11 Refactoring of the shipping class and individual product rules; functionally remains the same.
- Issue #12 Additional package metadata to help with theming; docs and examples to come later.
- hystericallyme removed from contributers as it appears to be an official collaboration, which wasn’t the intention.
- Issue #10 fix – thanks to https://github.com/GoTeamScotch
- Change of name for consistency with wordpress.org slug.
- Added link to github project page.
- Added experimental composer.json file.
- Fixed “enabled” flag on shipping settings overview page.
- Issue #1: change order line shipping link fields to hidden fields.
- Refactor to use (eager-loading) singletons.
- Only load settings class when in admin area.
- PHP fixes
- Extend types of package grouping available.
- Initial Release