An event is triggered to allow PowerSync product to customize 'Sales Order Status' form in Magentoafter the end of the synchronization process.
Code Block |
---|
language | php |
---|
title | TNW_Salesforce_Block_Sales_Order_Status_New_Form |
---|
|
Mage::dispatchEvent('tnw_salesforce_order_sync_after_final', array('all' => $_all, 'failed' => $_failed)); |
...
Code Block |
---|
language | xml |
---|
title | Example Config |
---|
|
<?xml version="1.0"?>
<config>
<global>
<events>
<tnw_salesforce_order_sync_after_final>
<observers>
<tnw<salesforce_salesforce_order_sync_after_final_final>observer>
<class>tnw_salesforce/observer</class>
<method>orderSyncAfterFinal</method>
</tnw_salesforce_order_sync_after_final_final>observer>
</observers>
</tnw_salesforce_order_sync_after_final>
</events>
</global>
</config> |
...