Liquid: New variable for new and returning customers

Platform

The Liquid variable order.is_returning_customer shows whether the customer is new or returning, so one template can adapt the text in documents and messages.

Shipmondo now has the Liquid variable order.is_returning_customer. The variable is true or false and shows whether the customer was a returning customer when the order was placed, so text and content can be adapted depending on whether the customer is new or returning.

Where you can use the variable

order.is_returning_customer can be used anywhere order information is already available: on picking lists, on packing slips, and in order-based messages about order status, fulfillment, invoices/credit notes, and refunds.

You can, for example, welcome new customers, thank regular customers for coming back, or show different offers on the packing slip.

You can, for example, use the variable like this: {% if order.is_returning_customer %}Welcome back!{% endif %}

What to be aware of

order.is_returning_customer is not available in shipment-based messages or on the pick route list, because they do not have order information. Orders with no customer attached always count as not returning. The variable is not available in the API either.

The variable requires no activation. In the template editor preview, the returning-customer variant is always shown.

Read more about Liquid in Introduction to Liquid in Shipmondo.

Start shipping in minutes

Create an account and you're good to go

Latest news

DSV Road Denmark: Enter pallet places per colli yourself

Enter exactly how many pallet places each colli takes up.

Carrier

DSV Road Denmark: Delivery note number as an extra reference

Send your own delivery note number to DSV as a reference.

Carrier

Send with DSV Road Sweden through Shipmondo's shipping agreement

Book DSV Parcel Service Point and Parcel Box in Sweden.

Carrier