I created a sub class of ProductImpl as MyProductImpl. I would like to remove the manufacturer default category and sale price from search list and replace with my custom properties from MyProductImpl. I tried to override as below but it is not working.
Code: Select all
@AdminPresentationMergeOverrides({
@AdminPresentationMergeOverride(name = "manufacturer", mergeEntries = {
@AdminPresentationMergeEntry(propertyType = PropertyType.AdminPresentation.VISIBILITY, stringArrayOverrideValue = Presentation.Tab.Name.Advanced),
@AdminPresentationMergeEntry(propertyType = PropertyType.AdminPresentation.TABORDER, intOverrideValue = Presentation.Tab.Order.Advanced),
@AdminPresentationMergeEntry(propertyType = PropertyType.AdminPresentation.GROUP, stringArrayOverrideValue = Presentation.Group.Name.Advanced),
@AdminPresentationMergeEntry(propertyType = PropertyType.AdminPresentation.GROUPORDER, intOverrideValue = Presentation.Group.Order.Advanced), })
})
from an another post https://github.com/BroadleafCommerce/Br ... issues/145, sounds like this is designed behaviour.
I'm just wondering whether it is possible to replace ProductImpl with MyProductImpl and completely remove unused fields.
Thanks,
Srinivas Rao