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

Bring: Optional return address on the individual shipment

Decide for yourself where Bring sends a parcel if it cannot be delivered, without the return address having to be set up on the agreement.

Carrier

New carrier: Matkahuolto now available in Shipmondo

Book Matkahuolto shipments within Finland with your own carrier agreement, to addresses, pickup points, parcel lockers and mailboxes.

CarrierDelivery CheckoutReturn Portal

DSV Road Sweden: Send to 19 European countries and book pickup

Send from Sweden to pickup points in 19 European countries, and get your parcels collected, without a direct agreement with the carrier.

Carrier