Merx

OrderPage

The OrderPageAbstract class extends the Kirby’s Page class.

You have to create your own OrderPage class.

$orderPage->cart()

Cart of this Order.

$orderPage->cart(): ProductList

Return Type

Wagnerwagner\Merx\ProductList

Inherits from

OrderPageAbstract

Source Code

$orderPage->formattedSum()

$orderPage->formattedSum(): string

Return Type

string

Inherits from

OrderPageAbstract

Source Code

$orderPage->invoiceNumber()

5 character long string based on the sorting number.

$orderPage->invoiceNumber(): string

Return Type

string

Inherits from

OrderPageAbstract

Example

$orderPage->invoiceNumber(); // 00003

Source Code