Order Weight for WooCommerce

توضیحات

This plugin tracks and displays WooCommerce order weight, automatically calculating and saving it for easy management in the WordPress admin interface.

To make the plugin work as intended, add weight to your products.

Features

  • Automatically calculates and saves total order weight
  • Updates order weight when an order is updated
  • Adds weight as a sortable column in admin interfaces
  • Extends WooCommerce REST API with weight properties
  • Displays order weight in customer dashboard and admin e-mails
  • Includes tool to update weight on all orders at once (with WP-CLI support)
  • Supports order weight export with WooCommerce Customer / Order / Coupon Export
  • Track average order weight in and single order weights in WooCommerce Analytics

Support

For assistance or inquiries, please reach out through the support forum.

سازندگان

The concepts of the plugin came from this blog post by Remi Corson.

توسط

This plugin is developed and maintained by Andreas Karman.

عکس‌های صفحه

  • Order weight column when managing orders.
  • Order weight when managing a single order.
  • Order weight in the customer dashboard.
  • Bulk action to update order weight.
  • Plugin setting
  • WooCommerce Analytics

نصب

Plugin requirements

  • WordPress 5.0 or greater
  • WooCommerce 5.0.0 or greater

Automatic installation

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.

Manual installation

To manually install our plugin, you need to first download the plugin and then upload it to your web server via FTP/SFTP. You can find more detailed instructions in the WordPress Codex.

سوالات متداول

Where is the plugin settings?

In the WooCommerce Settings, go to “Advanced” and click the “Order Weight for WooCommerce” tab.

How can I get the weight for orders created prior to plugin activation?

If you go the plugin settings, there is a tool to calculate the weight of all orders in your WooCommerce installation. You can also use the WP-CLI command “wp orderweight update” to update all orders.

Does the plugin support high-performance order storage (HPOS)?

Yes, the plugin is fully compatible with WooCommerce’s HPOS feature.

نقد و بررسی‌ها

19 دسامبر 2023
Awesome plugin thx. I even don’t get why it’s not a native woocommerce function.
30 نوامبر 2021
Great job! Thanks for your attention and for making the corrections.
خواندن تمامی 8 نقد و بررسی‌

توسعه دهندگان و همکاران

“Order Weight for WooCommerce” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“Order Weight for WooCommerce” به 1 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “Order Weight for WooCommerce” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

2.0 – 2024/11/16

  • Full support for High-Performance Order Storage (HPOS) and legacy mode.

1.2.5 – 2024/11/05

  • Added support for displaying the order weight column in both HPOS and legacy mode.

1.2.4 – 2024/10/25

  • Fixed a checkout error.
  • Improved logging for debugging.

1.2.3 – 2024/10/23

  • Added missing translations.
  • Fixed error when adding the weight column to orders in the admin interface.

1.2.2 – 2024/07/08

  • Declared incompatibility with HPOS to avoid conflicts.

1.2.1 – 2023/11/09

  • Fixed incorrect usage of the woocommerce_email_order_meta_fields hook.

1.2 – 2023/03/29

  • Integrated order weight data into WooCommerce Analytics.

1.1 – 2023/03/14

  • Added the ability to disable order notes.

1.0 – 2023/01/31

  • Enabled order weight display in customer emails.

0.9 – 2022/12/05

  • Introduced WP-CLI command for batch updating order weights: wp orderweight update.

0.8.1 – 2022/12/05

  • Added total order weight to admin emails.

0.8 – 2022/11/24

  • Added an admin tool for bulk updating order weights.

0.7 – 2022/11/14

  • Introduced a custom bulk action to update order weights in the admin interface.

0.6.4 – 2022/11/09

  • Fixed PHP notices triggered by API calls.
  • Resolved additional PHP8 compatibility issues.

0.6.2 – 2022/10/19

  • Fixed a PHP8 compatibility issue.

0.6.1 – 2022/10/03

  • Added a direct link to plugin settings in the “Plugins” section.

0.6 – 2022/09/13

  • Added order weight display in the customer dashboard.

0.5.5 – 2021/12/26

  • Added support for exporting order weight using WooCommerce Customer/Order/Coupon Export.

0.5 – 2021/12/17

  • Added compatibility with the new WooCommerce Block Checkout.
  • Fixed a sorting issue in the “Products” weight column.

0.4.5 – 2021/11/20

  • Enhanced order weight updates in the admin when an order is modified.
  • Added notifications for updated order weights.
  • Fixed a display error in the “Products” weight column.

0.4.0 – 2021/11/10

  • Fixed “Order properties should not be accessed directly” error.
  • Corrected weight and weight unit display in API calls.

0.3.5 – 2016/01/26

  • Added weight and weight unit to orders in the WooCommerce REST API.
  • Changed the meta key for order weight (removed underscore prefix).
  • Implemented activation logic to rename old meta keys.
  • Protected plugin meta keys using the is_protected_meta filter.
  • Updated the uninstall method to include all relevant meta keys.

0.3.0 – 2016/01/24

  • Renamed the plugin.
  • Added a weight column to the “Products” list.

0.2.0 – 2015/11/26

  • Cleaned up metadata on plugin uninstall.
  • Added WooCommerce headers to readme.txt.
  • Ensured WooCommerce is activated before activating the plugin.

0.1.0 – 2015/11/22

  • Initial plugin release.