Order

Type
Class
Namespace
craft\commerce\helpers
Inherits
craft\commerce\helpers\Order
Since
2.1

Order helper

View source (opens new window)

# Public Methods

Method Description
mergeDuplicateLineItems()
mergeOrders() Merges the contents of otherOrder into the primaryOrder

# mergeDuplicateLineItems()

View source (opens new window)

Arguments

Returns

boolean (opens new window) – Were line items merged?

# mergeOrders()

Merges the contents of otherOrder into the primaryOrder

View source (opens new window)

Arguments