LemonStand Documentation

shop:onOrderItemUpdated event

The shop:onOrderItemUpdated event is triggered when an order item is updated. It could happen when a user updates an order item on the Edit Order page in Administration Area. The event handler should accept a single parameter - the order item object (Shop_OrderItem).

Event handler example:

public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onOrderItemUpdated', $this, 'item_updated');
}
 
public function item_updated($item)
{
  // Do something
}

Next: shop:onOrderItemDeleted event
Previous: shop:onOrderItemAdded event
Return to Handling LemonStand events