Skip to content

Commit 10c09cf

Browse files
committed
Temporary disable displaying category names
1 parent 403f5de commit 10c09cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Model/AbstractDataLayer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ public function __construct(
5858
*/
5959
protected function getCategoryNames(Product $product): array
6060
{
61+
/* Temporary disable displaying category names,
62+
* as it is optional and slows down the website speed
63+
*/
64+
return [];
65+
6166
$result = [];
6267

6368
if ($productCategory = $this->getCategoryByProduct($product)) {

0 commit comments

Comments
 (0)