Contributors: andreaskarman
Tags: woocommerce, woocommerce order, woocommerce order weight, woocommerce plugin, order, orders, weight, ecommerce, shop
Requires at least: 5.0
Tested up to: 6.1.1
Stable tag: 0.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This WordPress plugin stores the weight of WooCommerce orders and displays the order weight when managing orders.
When a new order is created by a customer, the total weight of the order will be stored in the order metadata. For this to work as indented, your physical products needs a weight value.
To make the plugin work as intended, add weight to your products.
- When a new order is added, the total order weight is populated.
- When an order is changed, the order weight is updated and a order notification is added.
- Adding weight as a sortable column for ”Orders” and ”Products” in WordPress admin interface.
- Extends the REST API with order weight and weight unit as order properties
- Displays order weight in the customer dashboard
- Bulk action to update order weight on historical orders
- When exporting orders with WooCommerce Customer / Order / Coupon Export, order weight is included.
The concepts of the plugin came from this blog post by Remi Corson.
This plugin is developed and maintained by Andreas Karman.
- WordPress 5.0 or greater
- WooCommerce 5.0.0 or greater
To do an automatic install of Order Weight for WooCommerce, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New. Type "Order Weight for WooCommerce" in the search field and click search Plugins. Click "Install Now" on this plugin which should be the first result.
To manually install our plugin, you need to first download the plugin and then upload it to your webserver via FTP/SFTP. You can find more detailed instructions in the WordPress Codex.
There is no settings available for this plugin. Just activate it and it will do what stated.
In the WooCommerce Order interface, mark the orders and use the "Bulk action" -> "Update order weight". This will populate the order weight based on the content of the order and the current weight of the products.
Bugs can be reported either in the support forum or preferably in the plugin GitHub repository.
- New feature: WP-CLI command added to update all order weights (wp orderweight update)
- New feature: Adding total order weight to admin e-mails
- New feature: Admin tool to update the weight on all orders.
- New feature: Bulk action to update order weights.
- Fixed PHP notices when API is called.
- Fixed additional PHP8 compatibility issues.
- Fixed PHP8 compatibility issue.
- Added link to plugin settings in "Plugins".
- Added feature to display order weight in the customer dashboard.
- New feature: Added order weight support for WooCommerce Customer / Order / Coupon Export
- New feature: Compatibility added to the new WooCommerce Block Checkout
- Bug fix: Fixed sorting error of "Products" by weight
- New feature: Updating order weight in the WordPress admin when an order is updated.
- New feature: When order weight is updated, a order notifications is added.
- Bug fix: Display error in "Products" weight column
- Fixed "Order properties should not be accessed directly" error
- Fixed weight and weight unit in API calls not showing
- Added weight and weight unit to orders in the WooCommerce REST API.
- Changed meta key for order weight (removed underscore prefix).
- Added activation function to rename old meta keys.
- Protected plugin meta keys using is_protected_meta filter.
- Updated the uninstall method with all meta keys.
- Renamed plugin.
- Added weight column to "Products".
- Removed metadata when un-installing plugin.
- Added WooCommerce headers to readme.txt.
- Check if WooCommerce is activated before activating plugin.
- Initial plugin release.