RikMK Posted April 11, 2022 Share Posted April 11, 2022 Hi, I made an edit in mail.php which solves not showing right details in bankwire emails (see this thread) I want this solution from classes/mail.php to be persistant after an update, so I tried placing mail.php in override/classes. Issue: this option only works when I put the shop in debug mode. Yes I know, usually it's the other way around... Why is this behaviour, what may cause this only to work in debug mode? Any permanent solution (3 extra lines of code in mail.php) so I won't forget this after an update? Tnx! more details: not sure what to put in the first part of the new file, but this worked in debug mode: "class Mail extends MailCore" I used no cache. (tried both while troubleshooting) version 1.7.8.2 Link to comment Share on other sites More sharing options...
JBW Posted April 11, 2022 Share Posted April 11, 2022 Delete /var/cache Link to comment Share on other sites More sharing options...
Ress Posted April 11, 2022 Share Posted April 11, 2022 If you have overridden the class, for the changes to take effect, you must delete the class_index file from /var/cache, prod and dev (from prod is when the shop is not in debug mode). 1 Link to comment Share on other sites More sharing options...
RikMK Posted April 13, 2022 Author Share Posted April 13, 2022 (edited) Tnx guys, Even though cache was not checked, the index_classes file was still present. Issue solved, many thanks. Edited April 13, 2022 by RikMK (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now