Liquid: Discount lines in Document Designer
With discount lines in Liquid, packing slips and other documents can show the price your customer actually paid, including the discount code.
Gift cards your customer paid with can be shown on packing slips and other documents, so the price matches what was actually paid.
An order’s gift card lines can now be used in Liquid, so gift cards can be shown on packing slips and other documents in Document Designer. That way, the document in the parcel shows the gift cards your customer paid with, and the price that was actually paid.
The gift card lines are available in order.gift_card_lines and are used the same way as the item lines, shipping lines, and discount lines. Each gift card line has a name, quantity, amount excl. VAT, VAT rate, and currency. The name is what the webshop sends. If the line has no name, “Gavekort” or “Gift card” is shown, depending on the language.
Gift card lines are not added to existing templates automatically. You need to add them yourself in the templates where the gift card should be shown. The sample data in the template editor preview includes a gift card line, so you can test your template with a gift card.
Read more about Liquid in Introduction to Liquid in Shipmondo.
Create an account and you're good to go
With discount lines in Liquid, packing slips and other documents can show the price your customer actually paid, including the discount code.
Bookings from Portugal to countries outside the EU are no longer rejected for a missing inbound commodity code, and you don't have to enter an extra code.
Let Claude, ChatGPT and other AI assistants find prices, book shipments and handle orders directly in your Shipmondo account.