Editing your packing slip template
You can change what Freshly packing slips show by editing their HTML and Liquid template in Freshly Preferences. Template editing is part of the paid Freshly plan.
Edit the template
- In Freshly, go to Preferences.
- Scroll to Packing slip templates and click Edit template.
- Edit the HTML and Liquid in the editor.
- Click Save template. If the template has a Liquid error, Freshly shows it and doesn't save.
- To check the result, click Preview packing slip. The preview uses your most recent order, so it only appears once your store has at least one order.
Once you save your own template, Freshly no longer updates it when we improve the default template.
Go back to the default template
Click Reset to default template and confirm. Your changes are deleted permanently.
If you cancel your paid Freshly plan, your custom template is deleted, and packing slips return to the default.
Variables you can use
order: for exampleorder.name,order.created_at,order.note,order.shipping_address,order.billing_address,order.note_attributesshop: for exampleshop.name,shop.email,shop.domaincustomer: the order's customerline_items: loop with{% for line_item in line_items %}. Each hastitle,sku,vendor,product_type,image_url,formatted_price,quantityline_item.inventory_batches: loop with{% for inventory_batch in line_item.inventory_batches %}. Each batch hasexpiry_date,received_date,location,quantity(units of this item from the batch), andmetadata.batch_name,metadata.batch_number,metadata.barcode,metadata.invoice_number,metadata.description
The default template uses all of these, so it's a good starting point. Freshly removes scripts from the rendered packing slip.
To print slips, see Bulk printing packing slips.