diff --git a/app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php b/app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php index cb3dbd167e7e886ab1dc4527df9ed6fd8ed8bf00..d3e76c7bd0f9eb4975aef45e1d7f50fb553af238 100644 --- a/app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php +++ b/app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php @@ -51,6 +51,7 @@ class Getproductcategory //$menu = $this->getMenArray($product_id); $menu = Yii::$service->category->getTreeArr(); + $category_ids = $this->getCategoryByProductId($product_id); $str = ''; if (is_array($menu) && !empty($menu)) {