Liquid: Discount lines in Document Designer

Platform

With discount lines in Liquid, packing slips and other documents can show the price your customer actually paid, including the discount code.

An order’s discount lines can now be used in Liquid, so discounts can be shown on packing slips and other documents in Document Designer. That way, the document in the parcel shows the price your customer actually paid.

What a discount line contains

The discount lines are available in order.discount_lines and are used the same way as the item lines and shipping lines. Each discount line has a name, quantity, amount excl. VAT, VAT rate, and currency. The name is what the webshop sends with the order, for example a discount code like “SUMMER10”. If the line has no name, “Rabat” or “Discount” is shown, depending on the language. The amount is negative because the discount is deducted.

How to add discounts to your documents

Discount lines are not added to existing templates automatically. You need to add them yourself in the templates where the discount should be shown. The sample data in the template editor preview includes a discount line, so you can test your template with a discount.

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