Extending Product in Spartacus /How to add custom attribute in Product in SAP Spartacus?
In this example, I will add manufacturAid attribute which does not exist in OOB ProductData/ProductWSDTO class A. Update Your XXXXws-beans.xml file to add below entries. 1. Add bean definition to add additional field on OOB ProductData < bean class ="de.hybris.platform.commercefacades.product.data.ProductData" > < property name ="manufacturerAid" type ="java.lang.String" > < description > MFG Part# </ description > </ property > </ bean > 2. Add bean definition to add additional field on OOB ProductWsDTO < bean class ="de.hybris.platform.commercewebservicescommons.dto.product.ProductWsDTO" > < property name ="manufacturerAid" type ="java.lang.String" > < description > MFG Part# </ description > </ property > </ bean > B. update field mapping in dto-level-mappings-v2-spring.xml file < bean parent ="fieldSetLevelMapping...