2017-09-06 77 views

回答

1

INSERT_UPDATE 產品分配分類的類產品在款Hybris;代碼[獨特=真]; $優點1,$特點2; $特點3,$特點4; $ feature6; $ feature7; $ feature8; $ catalogVersion;

您可以檢查產品,classifications.impex的例子,因爲ClassificationClass僅延類別

+0

INSERT_UPDATE產品;代碼[unique = true]; $ feature1; $ feature2; $ feature3; $ feature4; $ feature6; $ feature7; $ feature8; $ catalogVersion;這是爲產品分配功能..我的問題是如何將分類類別分配給產品.... –

1

ClassificationClass將被分配相同類別產品。

例子:

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