Note: Packing Slips in ShipStation are equivalent to Royal Mail’s Despatch Notes. Another common term for this document is Delivery Notes.
ShipStation can create standard 128A barcodes (or any other type) that contain any content you wish, and then print them on your packing slips.
The steps in this article explain how to add a barcode to your packing slip that represents an order number, but you can create barcodes for other types of data, as discussed at the end of the article.
*You must be on a Silver or above plan to customize packing slip templates.
Customizing packing slips requires editing HTML. If you don't know HTML, though, don't worry! The below instructions provide all the information you need to add the barcode!
Add a Barcode To a Custom Packing Slip
Head to your Account Settings (the wrench icon in the upper right).
Next, select Templates and then Packing Slips from the sidebar on the left.
Find the packing slip you wish to add a barcode to and click Edit.
Note: If you use the default template, you will need to create a new copy before you can editit.
A window will then display with an HTML editor where you can create your packing slip.
Click on the Order Footer section, scroll until you reach the bottom, and add the following line of code at the end of the code:
<barcode size="medium">[Order #]</barcode>
Note: if you are a Magento user, you will need to add an additional attribute so that your code looks like this:
<barcode size="medium" barcodetype="Code128A">[Barcode]</barcode>
To center the barcode, use the code below:
<p align="center"><barcode size="medium">[Order #]</barcode></p>
You can also adjust the barcode size by replacing the barcode size text with one of the options below:
If you're having trouble getting ShipStation to read your order barcode to look up the order, try the following:
- Change the HTML for the barcode size to x-small. Sometimes a part of barcode code gets cut off if the print is too large causing an error when reading it.
- Change the type of barcode to Code128B or some other type listed below.
Other Available Options
Here is the full list of barcode types available:
Change the font by including a barcodefont="value" attribute to the barcode tag and replacing "value" with any of the following:
Here's an example of a barcode that is a different size, type, and font than the default barcode (128A).
<barcode size="small" barcodetype="Code128C" barcodefont="CCode128_S2">[Order #]</barcode>
For HTML novices: Be sure to always include the value for an attribute between quotation marks, is illustrated in the above example.
Other Types of Information in Barcodes
You're able to use the barcodes for other types of information. Order level information and product level information, however, must live in specific parts of the template.
- Order Level information (like Order #, Shipping Service, Custom Field #1, etc.) must remain in either the Order Header or Order Footer sections of the packing slip.
- Product Level information (like SKU, Item Title, Warehouse Location, etc.) must remain inside of the Order Items table.
Once done customizing the packing slip, you can choose to print a sample slip to ensure everything looks as it should. Just make sure to Save Changes before closing out the window.
For instructions on how to assign your custom packing slips to specific selling channels, please visit this article.