on 05-28-2015 4:59 PM
Hello
Recently, we recognized that in our hmc the list of variant attributes is incomplete. One of the fields is missing. As far as I check the code the fields are selected by de.hybris.platform.variants.jalo.VariantType.getVariantAttributes() which removes all not-variant attributes including my field. The reason of this is that the field is of type "AttributeDescriptor" and not "VariantAttributeDescriptor". The questions is where can I change the type of this field to "VariantAttributeDescriptor"?
Thanks for any help in adance.
Andy
This is defined in items.xml, example:
<itemtype code="ApparelStyleVariantProduct" extends="VariantProduct"
autocreate="true" generate="true"
jaloclass="de.hybris.platform.yacceleratorcore.jalo.ApparelStyleVariantProduct">
<description>Apparel style variant type that contains additional attribute describing variant style.
</description>
<attributes>
<attribute qualifier="style" type="localized:java.lang.String"
metatype="VariantAttributeDescriptor">
<description>Color/Pattern of the product.</description>
<modifiers/>
<persistence type="property"/>
</attribute>
<attribute qualifier="swatchColors" type="SwatchColorSet">
<description>A normalized color mapping to a standardized front-end navigable name.
</description>
<modifiers/>
<persistence type="property"/>
</attribute>
</attributes>
</itemtype>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
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.