cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Do we need to do any customizations for variant product in hybris 6.6?

mohammed24
Participant
0 Kudos
1,578

Can anyone help me in understanding if variant product information is available out of the box in hybris 6.6 , If not what customization are required to create variant products? Any link from hybris wiki would be helpful?

View Entire Topic
geffchang
Active Contributor
0 Kudos

You can't create an instance of VariantProduct, because it's an abstract class / type. At the minimum, you need to create a concrete subclass of VariantProduct in items.xml. e.g.

 <itemtype code="CustomVariantProduct" extends="VariantProduct"
     autocreate="true" generate="true"
     jaloclass="com.company.CustomVariantProduct">
     <description>Custom Variant Product type</description>
 </itemtype>