开发者 |
judgej
hystericallyme |
---|---|
更新时间 | 2016年9月25日 20:02 |
PHP版本: | 3.8 及以上 |
WordPress版本: | 4.2.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.