Print order item labels
Following documentation is for WooCommerce DYMO Print version 3.0 or above.
Introduction
With WooCommerce DYMO Print version 3.0 we add the possibility to print labels for each purchased product (order items). To add order item labels you need to add some code to your theme functions.php or a custom plugin. Order item labels can be used for packaging purposes.
Example use
An online sandwich shop sells sandwiches to companies. A customer buys for all it’s colleagues sandwiches for lunch. There are a lot of different sandwiches in this purchase.
The shop owner now can print order item labels for each purchased sandwich. The label contains the productname (what kind of sandwich it is), product price and some product information like ingredients.
Add a new order item label
With WooCommerce DYMO Print 5.0 or higher you can easily add order item labels.
Step by step instruction
- Go to WooCommerce –> DYMO Print
- Go to tab “General settings”
- Go to section “Label management”
- Go to “Add new label”
- Enter a new label name
- Choose a label color to easily identify the new label
- Choose “Order item” at the “New label type” selectbox
- Click button “Save labels”
The new order item label is added to your labels.
Label configuration
WooCommerce DYMO Print will show new settings as soon as a new order item label has been added.
It will add the following WooCommerce data to each object selectbox:
- Order item SKU
- Order item name
- Order item quantity
- Order item price
- Order item line total
- Order item line total incl. tax
- Order item attributes
- Order item url
You can combine normal order data with order item data on the same label.
Print label by quantity
There is also a new setting added called “Print label by quantity”. By changing this setting you can define how the purchase amount is handles to print order item labels.
This setting has two options:
- Yes: For each ordered product a label is printed. Product quantity is used.
Example: If order item total is 5, 5 labels are printed. - No: For each order item line a label is printed. Product quantity is ignored.
Example: If order item total is 5, but order contains just 3 order item lines (unique product), 3 labels are printed.
Change label settings for order items
The following animation shows how we select WooCommerce data for order item labels. The label file in the animation is available from the Sample label page.
How to print
Order item labels can be printed in the same way as normal order labels.
You can print order item labels from the following places:
- Order overview: Bulk actions
- Order overview: Actions column
- Order detail: metabox called “WooCommerce DYMO Print”