I am trying to overwrite following file:
The changes work when editing the file directly in vendor dir, however, I am having some problems overwriting this file.
I copied the file to following location but it just doesn't work:
rm -rf generated/code
rm -rf pub/static/* var/view_preprocessed
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean && php bin/magento cache:flush
Nothing seems to work. What am I doing wrong?