Develop EShop Plugins

EShop allows you to develop plugins to extend or add more features for your store. Following are the events trigger which you can use to write your own plugins:

onAfterStoreOrder

This event will be triggered after customer placing the order on the site.


public function onAfterStoreOrder($row)
{
    // Put your code here
}

onAfterCompleteOrder

This event will be triggered after customer making the payment for their order.


public function onAfterCompleteOrder($row)
{
    // Put your code here
}

You should use this events to make the plugin to integrate EShop extension with any other extensions that you want.