We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cdf44d9 + b3b50e3 commit 80ab7c0Copy full SHA for 80ab7c0
Model/Indexer/CategoryObserver.php
@@ -54,6 +54,11 @@ public function afterSave(
54
CategoryResourceModel $result,
55
CategoryModel $category
56
) {
57
+ if (!$this->configHelper->getApplicationID()
58
+ || !$this->configHelper->getAPIKey()
59
+ || !$this->configHelper->getSearchOnlyAPIKey()) {
60
+ return $result;
61
+ }
62
$categoryResource->addCommitCallback(function () use ($category) {
63
$collectionIds = [];
64
// To reduce the indexing operation for products, only update if these values have changed
0 commit comments