on ‎2018 May 08 4:32 AM
Request clarification before answering.
You can insert ProductFeature items as ProductFeature, but you would still need to use ProductFeatureValueTranslator.
e.g.
INSERT_UPDATE ProductFeature; product(code,catalogVersion(catalog(id),version))[unique=true]; classificationAttributeAssignment(classificationClass(code,catalogVersion(catalog(id),version)),classificationAttribute(code,systemVersion(catalog(id),version)))[unique=true]; description; featurePosition; language(isocode)[allownull=true]; qualifier; unit(code,systemVersion(catalog(id),version)); valueDetails; valuePosition[unique=true]; valueType; value[translator=de.hybris.platform.catalog.jalo.classification.impex.ProductFeatureValueTranslator]
The translator is needed, because the attribute/data does not map directly to the Type's attribute. Some processing needs to be done to map / save it correctly. There's also some validation involved (e.g. If it's a boolean, it will check if it's a valid boolean value)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.