Skip to content

ERPImportExport Type Plugin

gunjanpatel edited this page Oct 1, 2014 · 1 revision

Type: ERPImportExport Events

1. exportOrder

This method helps to export ERP system related information. Using this event you can export order information in any format, like XML, CSV, HTML. You may also place SOAP or CURL.

@param   object  $orderDetail  Order Info

Example:

/**
 * Trigger Plugin on after Order place
 *
 * @param   object  $orderDetail  Order Info
 *
 * @return  void
 */
public function exportOrder($orderDetail)
{
    // Your code goes here.
}

Notes:

Needs to change this in future

In future redSHOP2 or any, we can do this in better way. By introducing "order" plugins. Using order plugin we will able to export order in to xml, csv or into anything. We can also introduce new triggers, like OnUpdateOrderStatus etc...

Clone this wiki locally