This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onExtendOrderPreviewHeader event

Triggered by /modules/shop/controllers/shop_orders/preview.htm
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onExtendOrderPreviewHeader(Shop_Orders $controller, Shop_Order $order)
$controller Shop_Orders specifies the controller object.
$order Shop_Order specifies the order object.
Allows to display custom partials in the header of the Order Preview page in the Administration Area. The event handler should accept two parameters - the controller object and the order object.
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onExtendOrderPreviewHeader', $this, 'extend_order_preview_header');
}

public function extend_order_preview_header($controller, $order)
{
  $controller->renderPartial(PATH_APP.'/modules/mymodule/partials/_orders_preview_header.htm');
}