order_action.ship
Triggered on marking an order as “shipped”.
Shop-Script
Input (passed by reference)
$data array Action data.
$data['order_id'] int Order ID.
$data['action_id'] int Action ID.
$data['before_state_id'] int State ID before action execution.
$data['after_state_id'] int State ID after action execution.
$data['id'] int Order history log record ID.
$data['order_id'] int Order ID.
$data['action_id'] int Action ID.
$data['before_state_id'] int State ID before action execution.
$data['after_state_id'] int State ID after action execution.
$data['id'] int Order history log record ID.
… your plugin code …
Output
Shop-Script
Plugin code example
PHP
public function orderActionShip($params)
{
waLog::dump($params, 'shop/plugins/' . $this->id . '/order-actions/ship.log');
}









