/
Cause the sync process in the custom code
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
- Add the "EventManager" object to your class though the constructor
- 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
Related articles
Filter by label
There are no items with the selected labels at this time.
, multiple selections available,
Related content
Customers synchronization
Customers synchronization
More like this
Magento 2 CRON & MQ Setup
Magento 2 CRON & MQ Setup
More like this
Message: Record Type ID: this ID value isn't valid for the user: *********, fields [RecordTypeId].
Message: Record Type ID: this ID value isn't valid for the user: *********, fields [RecordTypeId].
More like this
How to benchmark Magento with Apache JMeter
How to benchmark Magento with Apache JMeter
Read with this
Magento 2: Magento Extension
Magento 2: Magento Extension
More like this
"Format value" field
"Format value" field
Read with this