Split up the items in your customer's cart to offer multiple shipping method selections for a single order
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:
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
GUI out-of-the-box.
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:
https://github.com/academe/wc-multiple-packages
The plugin can be downloaded from wordpress.org here:
https://wordpress.org/plugins/packages-configuration-for-woocommerce/
Banner Photo: “Container” by Izabela Reimers via Flickr Creative Commons
wc-multiple-packages
folder to the wp-content/plugins/
directoryBy 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.