diff --git a/Model/AbstractDataLayer.php b/Model/AbstractDataLayer.php index 78fa4ee..75c7ff6 100644 --- a/Model/AbstractDataLayer.php +++ b/Model/AbstractDataLayer.php @@ -58,6 +58,11 @@ public function __construct( */ protected function getCategoryNames(Product $product): array { + /* Temporary disable displaying category names, + * as it is optional and slows down the website speed + */ + return []; + $result = []; if ($productCategory = $this->getCategoryByProduct($product)) {