Order Summary & Labels for WooCommerce

By Hooman Ostadmehri

0+ active installationsVersion 1.3.3

A filterable order list for warehouse and shipping teams with customizable columns, postal labels, pick list, XLSX export and print output.

Description

Order Summary & Labels for WooCommerce gives warehouse and shipping teams one clean screen with only the order information they need, instead of the full WooCommerce order editor.

The plugin is fully internationalized (i18n). After it is published on WordPress.org, community translations (including Persian) are managed on translate.wordpress.org and delivered automatically to users.

Features

  • Two ready-made user roles: Warehouse & Packing Manager and Shipping Manager. They can open the order summary without getting access to the rest of the WordPress admin.
  • Four table views: site administrator, shop manager, warehouse & packing manager and shipping manager. Administrators and shop managers can switch between every view; each view keeps its own columns, statuses and default filter.
  • Columns are configured once for each view and are used on screen, in the XLSX file and on the print pages.
  • Available columns: order number, date, customer name, phone, full address, products with quantities, total, status, shipping method, payment method, customer note and shipment tracking.
  • Per-view order statuses. The warehouse view can default to “Processing” and the shipping view to a “Ready to ship” status, for example.
  • Per-view permissions: open the list, edit tracking, export (XLSX / print / pick list) and see the sensitive columns (phone and address). A role without the sensitive permission cannot enable those columns and never sees them in the list or in an export.
  • Postal labels: print a label for one order or for all ticked orders. The sender (name, address, ten-box postcode, phone, website, email and a logo) is shown in a frame at the top and the recipient in a larger frame below, in a modern rounded style or a classic dashed style like the Iran Post form. The recipient fields (name, province, city, address, postcode, phone, order number and more) are chosen in the settings. Sizes: A6, 15 × 10 cm, 10 × 10 cm, A5, an A4 sheet with four labels, or a custom size, in landscape or portrait. The fixed words on the label can be edited in the settings (with a one-click Persian preset), an accent color sets the frames and title bars, and the Vazirmatn font is included so Persian text prints correctly. Each printed label leaves a private order note and a “Label printed” badge in the list.
  • Pick list: the total quantity of every product in the ticked (or filtered) orders, for example “12 towels”, with SKU. Print it or download it as XLSX.
  • Filters: date range, status and a search box. Sorting by date, order number and total, and each user’s page size, last filter and sort order are remembered.
  • Tick individual orders, or leave everything unticked to export all orders that match the current filters.
  • Export to a real XLSX file (no extra PHP extension required) or open a print-friendly page and use the browser’s “Save as PDF” for a PDF with correct right-to-left text.
  • Gregorian or Jalali (Solar Hijri) dates, selectable in the settings. Persian and Arabic digits are accepted in the search box and date fields.
  • A stale page is handled cleanly: if a list page stays open for hours, saving a tracking code says “refresh the page” instead of failing with a cryptic error.
  • Simultaneous edits are detected. If another user changed the same order after the page was opened, the plugin warns before overwriting anything.
  • Optional export log: who exported how many orders, and when, with a clear button on the settings screen.
  • Compatible with WooCommerce High-Performance Order Storage (HPOS), including its SQL search.

Shipment tracking (optional integration)

When the plugin Hoomanostadmehri Shipment Tracking for WooCommerce is active, a “Shipment tracking” column appears in the list. Authorized users can enter the carrier, the tracking code and the shipping date directly in the list and optionally email the customer. The data is stored by the Shipment Tracking plugin, so both plugins always show the same values. In XLSX and print output the column becomes three columns: tracking code, carrier and shipping date.

You can also choose to move the order to a different status automatically after a tracking code is saved.

The plugin only reads existing order data (and writes tracking data through the Shipment Tracking plugin). It does not add database tables, load remote files or send any data to external services.

Privacy

The plugin does not copy order data: it reads it from WooCommerce. Each staff user gets one small preference record (last filter, page size and sort order) in the user meta table.

If the optional export log is enabled, the plugin stores the user name, date and time, table view, export format and number of orders for every export. The log is limited to the number of entries chosen by the shop, is visible only to administrators and shop managers, and is deleted when the plugin is deleted. It is also available through the WordPress personal-data exporter and eraser. The plugin adds a suggested privacy policy text to Settings > Privacy.

Third-party resources

  • Vazirmatn font (Regular and Bold, WOFF2) by the Vazirmatn Project Authors, licensed under the SIL Open Font License 1.1. Source: https://github.com/rastikerdar/vazirmatn. The files and the license are in assets/fonts/. The font is loaded only on the postal label print page, from the plugin folder itself.

Installation

  1. Make sure WooCommerce is installed and active.
  2. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen, then activate it.
  3. Open Order Summary & Labels > Settings. Administrators and shop managers can see and change the settings.
  4. In Roles & permissions, choose what each role may do. In each table-view tab, choose the columns, the statuses and the default status filter.
  5. Create users with the Warehouse & Packing Manager or Shipping Manager role.
  6. Open Order Summary & Labels to see the list.

FAQ

Which users can see the list?

Administrators, shop managers and the roles you allow in Order Summary & Labels > Settings > Roles & permissions. Those users will see customer names and (if allowed) phone numbers and addresses, so only choose roles you trust.

Can the warehouse and shipping roles have different statuses?

Yes. Every table view has its own list of statuses and its own default status filter. The first time a view is opened (and after “Reset”) the default filter is used.

Can I lock the phone number and the address for a role?

Yes. Phone and address are marked as sensitive. When the “Sensitive columns” permission is off, those columns are disabled in the settings and are removed from the list, the XLSX file and the print pages.

How do postal labels work?

Tick the orders and click Postal label, or click the Postal label link under an order number. A print page opens with one label per order; choose the paper size shown at the top in the print dialog, set the margins to “None” and the scale to 100%. The sender is set once in the Postal label tab of the settings, where you can also preview a sample label. Labels use the shipping address of the order, or the billing address when there is no shipping address. A label is flagged on screen when the postcode is not 10 digits, or the name or address is missing.

Who can print postal labels?

Administrators and shop managers always can. For the warehouse and shipping roles it is a separate permission in the Roles tab. Because a label carries the customer’s name, address and phone, a role must also be allowed to see the sensitive columns.

What is a pick list?

The pick list adds up the quantity of every product across the ticked orders (or all filtered orders) and shows it with the SKU, so the warehouse can collect the items once instead of reading every order. It can be printed or downloaded as XLSX.

Do I need the Shipment Tracking plugin?

No. Without it the tracking column is simply hidden. With it, tracking can be entered from the list.

How do I get a PDF?

Click Print / PDF. A print-friendly page opens; in the print dialog choose “Save as PDF” as the destination.

How does the plugin search on a large shop?

With HPOS, the search runs as a SQL query on the order tables and is paginated like any other filter. With the legacy post storage, WooCommerce’s own order search builds the matching order IDs and the status, date and pagination filters still run in SQL. Developers can change the ID cap with the hosum_search_id_limit filter.

What happens if two people edit the same order?

The order is fingerprinted when the page is built. If the order changed in the meantime, the save is stopped with a warning and the user can choose to overwrite the other change.

What happens if the page stays open for hours?

Saving a tracking code or exporting stops with a clear “please refresh the page” message instead of a security error, because the nonce expired.

Can I export more than 1000 orders at once?

The default limit is 1000 orders per export; you can change it in the settings (1 to 10000). Developers can change the final value with the hosum_export_limit filter.

What happens to the two roles when I delete the plugin?

Settings, the export log, the user preferences and the capabilities are removed. A role is deleted only if no user still has it.

Does it work with HPOS?

Yes. Orders are read through the WooCommerce order APIs, so both HPOS and the legacy post storage are supported.

Does it send data anywhere?

No. Nothing is sent to external services and no tracking is included.

Changelog

1.3.3

  • Renamed the plugin to Order Summary & Labels for WooCommerce for clearer discovery on WordPress.org.
  • Fixed a Plugin Check / coding standards error: missing translators comment for a string with a placeholder (%s selected).
  • Minor internal clean-up of the text domain and menu titles.

1.3.2

  • Postal label: the recipient title is no longer cut off, long addresses and names shrink to fit instead of being clipped, and the postcode boxes and phone share one row.
  • New setting: logo position (at the start, like the official postal form, or at the end).
  • The label wording fields no longer get filled in by the browser autofill, which had replaced the words with a postcode and a phone number.

1.3.1

  • Fixed the label font and text scale not being applied (a stylesheet specificity bug).
  • Postal label layout: stronger hierarchy with a thicker recipient frame, larger name and address, a contact row with the postcode boxes and phone, a footer with the order number and the cash on delivery amount, and no more colons or separator dots that broke right-to-left text.
  • New settings: accent color for frames and title bars, and editable label wording (Sender, Recipient, Postcode, Phone, Order and more) with a Persian preset, independent of the site language.

1.3.0

  • Postal label redesign: sender in a frame on top with a logo box, recipient in a larger frame below, modern or classic (dashed) frame style, landscape by default with portrait available, new sizes (A6, 15 × 10 cm, 10 × 10 cm, A5, four per A4) and optional English “From” / “To” titles.
  • Vazirmatn font included for the postal label, with a choice of system font or a font installed on the printing computer. The print waits for the font to load.

1.2.0

  • Postal labels: per-order link and a bulk button, selectable recipient fields, a sender profile with logo, A6 / A5 / 100 × 150 mm / four-per-A4 / custom sizes, ten-box postcode, optional cash-on-delivery amount and Persian or Latin digits.
  • Separate permission to print postal labels for each role.
  • A private order note and a “Label printed” badge in the list after printing.

1.1.0

  • Separate table views for the administrator, shop manager, warehouse and shipping roles, with a view switcher for administrators and shop managers.
  • Per-view order statuses and a per-view default status filter.
  • Per-view permissions: open the list, edit tracking, export and sensitive columns (phone and address).
  • Pick list with product quantities and SKU, as print or XLSX.
  • Server-side sorting by date, order number and total.
  • The page size, last filter, sort order and table view are remembered for each user.
  • HPOS-aware search; no more loading and filtering hundreds of orders in PHP.
  • “Please refresh the page” message when a nonce expires.
  • Warning when two users edit the same order at the same time.
  • Plural forms for all order counts.
  • Optional export log, privacy policy suggestion, and personal-data exporter/eraser.
  • The settings screen is split into tabs and can be managed by shop managers as well.

1.0.0

  • Initial release.