Overview

Represents an orderline in a cart or an order.

Properties

orderline.id

Returns a unique ID of the orderline.

orderline.quantity

Returns the orderline's quantity.

orderline.units

Returns the sum of quantities of all orderlines that contain the same product as this orderline.

orderline.page_count

Returns the orderline's page count.

orderline.is_cut_print

Returns true if this orderline contains a cut print product, otherwise returns false.

orderline.cut_print_quantity

Returns the quantity of the cut prints in this orderline. Note that if the orderline contains a regular project which is not a cut print, this returns the number of pages in the project and not 0.

orderline.unit_price

Returns the unit price of the orderline.

Use the currency filter to format the output.

orderline.price

Returns the orderline price.