Follow

How to: Design a custom Packing Slip Template

Created:   |   Updated:

ShippingEasy offers nearly limitless options to customize your packing slips. If you're just getting started, take a look at how to create a packing slip template and save it to your store.

If the default template options look good to you, there is nothing more to do. But if you want to customize the content or layout of those packing slips, you can design a custom template. Here we provide more details about the tools available:

 

Format Tool Bar:

Bold  Applies Bold formatting to selected text.
Italic  Applies Italic formatting to selected text.
Underline  Applies Underline formatting to selected text. 
" Font Family  Applies specified font family to selected text. 
Text Size  Applies specified font size to selected text. (Not applicable to Shipment Line Items)
Color  Apply text or background color to selected area. 
Alignment  Control alignment of selected text or objects. 
Format Table  Insert, format, or delete a table.
Bullets Add numeric or dot bullets to a list.
Hyperlink  Reserved for Email Templates.  Learn more
Undo or Redo Action Quickly reverse an action or reapply an action that was removed.
HTML View template in a HTML editor.

 

Variables:

In the default packing slip templates, you will notice references to fields like: 

{{shipment.customer_name}}

When ShippingEasy creates the packing slip, it will substitute in the correct value for that field - in this example, the name of your customer. There are a wide variety of different field values that ShippingEasy can substitute in for you. They are available from the list on the right:



To insert a field value, click in the body of the packing slip with your mouse, and then click the button to the right for the field you want to insert.

Learn more about the variables available for mapping to your packing slips.

 

Shipment Line Items:

The shipment.line_items variable generates a list of items included in the order. There is special handling for the shipment.line_items variable:

{{ shipment.line_items | sort: 'name' | columns: 'sku qty name price total' }}

NOTE: Shipment Line Item font size is not adjustable.
Available values:

The default configuration (above) only displays the sku, qty, name, price, and total values. Below is a list of all values available for sorting or displaying in columns:

  • condition: Amazon condition note 
  • custom_ : add custom columns (see Customs Columns section below for more info)
  • format_grid: add grid lines 
  • format_shade: add shading to every other line
  • image: mapped from the Product Catalog (default 75x75 pixels)
  • image_size: specify an image size other than default
  • location: warehouse location or bin
  • name: product name
  • name_and_bundle: product name with bundled items included 
  • qty: count of unique product
  • qty_multiple: a "diamond" image - only displayed if qty is greater than 1
  • price: original cost of individual product
  • sku: unique identifier associated with each product
  • total: calculated by multiplying qty by price
Sorting line items:

By default, line items are sorted by item name, but you can specify any available column values above, for the sort order.  

NOTE: only a value specified/included as a column, can be used to sort the line items.
Columns displayed:

By default, five values are displayed: sku, qty, name, price, total. Any of the available values may be assigned to a column. The order of the values determines the order of the columns.

Product images:

By default, all images from the Product Catalog are sized at 75x75 pixels, but you can change that by specifying a size with image_size:

{{ shipment.line_items | sort: 'name' | columns: 'sku image qty name price total' | image_size: '60x60' }} 

Formatting:

By default, the line items are displayed without any formatting. A formatting option can be inserted into the list of requested columns to draw grid lines around the list of line items:

{{ shipment.line_items | columns: 'sku qty name price total format_grid' }} 

Another option is to display alternating rows of the list of line items on a shaded background:

{{ shipment.line_items | columns: 'sku qty name price total format_shade' }} 

Custom Columns:

To add your own custom columns into the list of line items, specify a column name that starts with custom_ :

{{ shipment.line_items | columns: 'sku qty name price total custom_Checked' }} 

Custom columns are only displayed in the header of the list of line items - the entry in that column for each product will be blank.

 

Logo:

There is special handling for the store.logo variable that allows you to control the exact width and height. 

By default, the variable looks like this:

{{ store.logo }}

To specify the logo dimensions, add the following information:

{{ store.logo | image_size: 'WxH' }}

In place of W and H, specify the pixels for the width (W) and height (H). For example:

{{ store.logo | image_size: '200x400' }} 

 

Custom Images:

Custom images, which have been uploaded to the Image Library, can be added to packing slip templates. Learn more about saving images to your Image Library and adding the images to your packing slips.

By default, the maximum image size will be limited by the file dimensions. In addition, there is special handling for the custom_image variable that allows you to control the exact width and height. 

The variable looks like this:

{% custom_image #_label %}

NOTE: "image_#" refers to the order in which the image was uploaded to your library and "label" refers to the Label name you entered when you added your custom image to the IMAGE LIBRARY settings. 

To specify the image dimensions, add the following information:

{% custom_image #_label | image_size: 'WxH' %}

In place of W and H, specify the pixels for the width (W) and height (H). For example:

{% custom_image 1_shippingeasy | image_size: '10x20' %}

 

Barcode:

To display the order number as a barcode:

  1. The default variable will display the order number as regular text:{{shipment.order_number}}
  2. To add the order number barcode attribute, specify the type of barcode:{{shipment.order_number | barcode: 'code128'}}
  3. The barcode will be printed in one of three sizes: small, medium, or large. The default is small. To use a different size, just specify the size in the attribute:

{{shipment.order_number | barcode: 'code128 medium'}}

To display the item sku as a barcode:

The item sku is displayed as part of the shipment.line_items variable. The shipment.line_items variable is a special case because it produces a table of output with line item details that you specify via a list. For example, to display the SKU, quantity, name, and price of each line item in the order, use:

{{ shipment.line_items | sort: 'name' | columns: 'sku qty name price'}}

For any value that you want displayed as a barcode instead, just add the attributes to the name. As an example, to display the SKU as a barcode instead of text, use:

{{ shipment.line_items | sort: 'name' | columns: 'sku_barcode_code128 qty name price'}}

NOTE: the size of the item sku barcode cannot be customized. It is a set size to optimize the alignment of the table columns.

Related articles:

FAQs: Packing Slips
How to: Create a custom Packing Slip Template and save it to your settings
How to: Preview a custom Packing Slip Template
How are my variables on my Packing Slip templates mapped?
Why doesn't my logo appear on my packing slips?

Comments

Please sign in to leave a comment.

  • Avatar
    Alisa Davis

    Thanks so much for adding the image to the line item, great for the customer.

Community browse

COMMUNITY FORUMS

Questions & Answers

Issues & Bugs

Beta Feedback

FEATURE REQUESTS

Productivity: Features, Interface & Settings

Partners: Integrations, Carriers & Stores

Shipping: Orders, Labels & Shipments

Inventory: Products, Purchase Orders & Suppliers