Cause the sync process in the custom code

Our module observe the "post-dispatch" Magento event and process sync when. It means changed entities will be pushed to Salesforce when you operate through the browser.

If you modify or create entities through the cron jobs or by the console command - you need to call our custom event at the end of your operation.

Step-by-step guide


  1. Add the "EventManager" object to your class though the constructor 
  2. Call the "tnw_salesforce_entities_sync" event at the end of your logic



The "tnw_salesforce_entities_sync" event is available since v.2.3.3


Filter by label

There are no items with the selected labels at this time.