This guide will help you install & set up the WooCommerce Print Address Labels plugin.
To install the plugin, you can follow our general guide: Installing WP Overnight plugins. Note that you get two download links in your order confirmation email, one for the WP Overnight Sidekick (our updater), which is not required for the plugin to work, but does give you automatic plugin updates, and another for the actual plugin!
You can find the page layout settings under WooCommerce > Address Labels > Page layout (tab)
If you’re using the plugin to print on avery label sheets (multiple labels), this is where you set up how many rows/columns of labels your sheets have. If you’re printing single labels (on a label printer), you can set this to 1 column, 1 row.
Note: if you set the Top or Bottom margin to something bigger then 0, then Chrome may use this margin to print a header and footer (depending on if it is enough space for it in this margin). You can disable this in the print dialog.
If you’re using label sheets and want to continue printing where you left off last time, you can enable the Ask for offset setting. This will give you a field where you can enter the number of labels to skip before printing.
The Enable preview setting is useful when you’re developing your own label template or want to test the custom styles you have entered in the Custom styles box.
By default, the WooCommerce Print Address labels plugin uses the address as formatted by WooCommerce, which is different for each country. You can override this behavior by building your own address format using placeholders.
Here’s a simple example:
In addition to these default address fields, you can also display custom fields from the order, like [VAT Number] if you are using WooCommerce EU VAT Numbers plugin. Simply put the custom field name between brackets, minus a leading underscore if it has one: so a custom field with the name _delivery_date would become [delivery_date].
The Remove empty lines option will make sure that no empty lines will be printed in the address if a certain field is not filled in (for example shipping_address_2).
Here’s a list of placeholders that you can use, excluding any custom fields:
With these placeholders, you not only have full control over the contents of the address, but you can also use HTML to format each element separately.
You can even add images, using the HTML <img> tag, like a logo above the address:
<img src="http://www.yoursite.com/logo.png" style="width: 3cm;">
That was simple, wasn’t it? With everything configured, you can start printing the labels!
There are three ways to print labels:
On the top of the WooCommerce overview, there’s a dropdown menu with bulk actions, which has a link to print the address labels:
Simply select the orders (checkbox in front of the order), then Print address labels and click Apply.
You probably noticed this screen when you went to the settings page, it’s the Export tab under WooCommerce > Address Labels
You can enter a date range here, although that’s optional if you’re only concerned with the order status.
If you have enabled the Ask for offset feature in the interface settings, you can also enter that here.
If you only want to print individual labels, you can either do this from the order overview:
Or in the right column of the edit order page (if you want, you can drag this block higher up in the column and WordPress will remember this position):