frontend_my_orders

Adds custom content to order listing page in customer account.

Shop-Script

Input (passed by reference)

$params array Orders data array.
… your plugin code …

Output

{$frontend_my_orders.%plugin_id%}

Custom HTML code.

Shop-Script

Plugin code example

PHP

public function frontendMyOrders($orders)
{
    return '<div>'.shopMyPluginHelper::getOrdersInfo($orders).'</div>';
}