frontend_my_order

Adds custom content to order-viewing page in customer account.

Shop-Script

Input (passed by reference)

$order array Order data array.
… your plugin code …

Output

{$frontend_my_order.%plugin_id%}

Custom HTML code.

Shop-Script

Plugin code example

PHP

public function frontendMyOrder($order)
{
    return '<div>'.shopMyPluginHelper::getOrderInfo($order['id']).'</div>';
}