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:onOrderItemDeleted event

Triggered by Shop_OrderItem
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onOrderItemDeleted(Shop_OrderItem $item)
$item Shop_OrderItem specifies the order item object.
Triggered after an order item is deleted from an order.
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onOrderItemDeleted', $this, 'item_deleted');
}

public function item_deleted($item)
{
   // Do something
}