Fluent Commerce Logo
Docs
Sign In

Packing List Generation Logic

Essential knowledge

Author:

Fluent Commerce staff

Changed on:

13 Dec 2023

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):

1{
2    "returnInfo": "Some info how to do returns/conditions",
3    "contactEmail": "someEmail", // overwrites the retailer email address
4    "contactPhone": "somePhoneNumber", // overwrites the retailer phone number
5    "contactWebsite": "someWebsite"// overwrites the retailer website
6}

Language: json

Name: PACKING_SLIP_PROPS

Description:

[Warning: empty required content area]

Contact Us:

1retailer.supportPhone
2retailer.supportEmail
3retailer.websiteUrl
4retailer.logo (not available via GQL)

Language: json

Name: Contact Us

Description:

[Warning: empty required content area]
Fluent Commerce staff

Fluent Commerce staff

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo