Skip to content

Commit ad17bd9

Browse files
add the id of the category to the category tree names
1 parent 9fc6972 commit ad17bd9

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Category

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ protected function _getNodeJson($node, $level = 0)
407407
public function buildNodeName($node)
408408
{
409409
$result = $this->escapeHtml($node->getName());
410+
$result .= ' (ID: ' . $node->getId() . ')';
410411
if ($this->_withProductCount) {
411412
$result .= ' (' . $node->getProductCount() . ')';
412413
}

0 commit comments

Comments
 (0)