我创建了自己的 Itemtype 扩展类别:
<itemtype code="BrandCategory" extends="Category">
<attributes>
<attribute qualifier="hide" type="java.lang.Boolean">
<persistence type="property"/>
<defaultvalue>java.lang.Boolean.FALSE</defaultvalue>
<modifiers read="true" write="true" optional="false" search="true"/>
</attribute>
</attributes>
</itemtype>
但是,当我将此类别分配给已经有其他类别的任何产品并进行目录同步时,除了自定义类别(BrandCategory)之外,所有类别都会复制到在线。
我该如何修复这个错误?