I have a module in vendor/company/module
. I have created the following folder to override files.
/vendor/theme/theme-frontend-default/Company_Module
.
I am able to override files in view folder but I also want to override model and maybe di.xml
if required. Creating di.xml
in /vendor/theme/theme-frontend-default/Company_Module/etc/frontend/di.xml
does not override. Is there a different way to override di.xml or models?