Indexes execution

During each synchronization, the indexes will be automatically deactivated, and they will be reactivated once the synchronization is over. If it were needed to add URLs for them to be executed after each synchronization, we can add them to the file  saleslayerimport.php. Specifically, at the function callIndexer, at the end of it use the function urlSendCustomJson (which will call the URL once the synchronization is completed).

 

Example:

$mi_another_indexer = 'https://mistore.io/mainindexer/token/58161dcaf1a6c1a61cs1a56';

$this->urlSendCustomJson('GET', $mi_another_indexer, null, false);

 

prestashop indexes