public function deleteProductsStoreIndices($storeId = null)
{
if ($storeId !== null) {
if ($this->config->isEnabledBackend($storeId) === false) {
$this->logger->log('INDEXING IS DISABLED FOR ' . $this->logger->getStoreName($storeId));
return;
}
}
$this->algolia_helper->deleteIndex($this->product_helper->getIndexName($storeId));
}