Skip to content

magento man

Magento2.4.4 override class not working on windows

This is my di.xml: <preferencefor=”MagentoCustomerSegmentControllerAdminhtmlIndexSave” type=”MyModuleCustomerSegmentControllerAdminhtmlIndexSave”/> <preferencefor=”MagentoCustomerSegmentModelSegmentConditionCombine” type=”MyModuleCustomerSegmentModelSegmentConditionCombine” /> When I execute bin/magento setup:di:compile,I didn’t find code in generated files. But first preference is executed.This is generated fidle in customerSegment: