Skip to content

Commit 21f46f1

Browse files
Add the description as a main attribute rather than custom.
1 parent a1389ec commit 21f46f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Model/Component/Categories.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ class Categories extends ComponentAbstract
1616
'name',
1717
'is_active',
1818
'position',
19-
'include_in_menu'
19+
'include_in_menu',
20+
'description'
2021
];
2122

2223
public function __construct(
@@ -142,7 +143,6 @@ public function createOrUpdateCategory(
142143
$category->setCustomAttribute($attribute, $value);
143144
}
144145
}
145-
146146
// Set the category to be active
147147
if (!(isset($categoryValues['is_active']))) {
148148
$category->setIsActive(true);

0 commit comments

Comments
 (0)