backend_order_print

Adds extra content to customer contact details block on printable order page in backend.

Shop-Script

Input (passed by reference)

$order array Order params.
… your plugin code …

Output

{$backend_order_print.%plugin_id%.info_section}

Extra HTML code.

Shop-Script

Plugin code example

PHP

public function backendOrderPrint($params)
{
    return array(
        'info_section' => '<div class="block">' . shopMyPluginHelper::getCustomerInfo($params['id']) . '</div>',
    );
}