Fluent Commerce Logo
Docs

Packing List Generation Logic

Essential knowledge

Intended Audience:

Technical User

Author:

Fluent Commerce

Changed on:

14 May 2025

Overview

The values on the packing list.

Key points

  • List of values on the packing list 
The values on the packing list are displayed based on the value of the object passed in the code listed below:
  • Customer Info:
  • order.customer.firstName
  • order.customer.lastName -order.customer.primaryEmail -order.customer.primaryPhone -fulfilment.toAddress.street -fulfilment.toAddress.city -fulfilment.toAddress.state -fulfilment.toAddress.postcode -fulfilment.toAddress.country -Order Number: -order.ref
  • Fulfilment Number:
  • fulfilment.id
  • Items Included / Pending Items
    • Product Description:
  • order.item.product.ref
  • order.item.product.name
  • order.item.product.attribute('brand').value
  • order.item.product.attribute('COLOUR_DESC').value
  • order.item.product.attribute('SIZE_DESC' or 'SIZE_NUMBER').value
  • Unit Price:
  • order.item.totalPrice + order.item.totalTaxPrice
  • Quantity:
  • order.item.quantity
Returns Information:You can have a setting PACKING_SLIP_PROPS which has the following json structure (each field is optional):Contact Us: