如何通过impex将分类类分配给产品在Hybris中
答案 0 :(得分:3)
ClassificationClass将被分配为与产品类别相同,因为ClassificationClass仅扩展了Category。
示例:
INSERT_UPDATE ClassificationClass; code[unique = true]; $catalogVersion; name[lang = en]
; classificationClass; ; classificationClass
UPDATE Product; code(code)[unique = true]; catalogVersion(catalog(id[default = $catalogName]), version[default = 'Online'])[unique = true] supercategories(code)[mode = append];
; testProduct; ; classificationClass
答案 1 :(得分:1)
INSERT_UPDATE 产物;代码[独特=真]; $特征1; $特征2; $特征3; $特征4; $ feature6; $ feature7; $ feature8; $ catalogVersion;
您可以查看 products-classifications.impex 以获取示例