HU JIN Posted November 20 Share Posted November 20 the subject of order confirm email includes the shop name in prestashop system(8.1.2). in backoffice, the "PS_MAIL_SUBJECT_PREFIX" config did set in disable. after that, In english frontend version, the subject of order confirm email don`t include the shop name. But in is not english, btw, in other language version, it includes the shop name yet. Also although the classes/Mail.php class did override(override.png file), but the [shop name] of order confirm email subject don`t remove on no english version. i attached the image file. the "english.png" show that the [shop name] remove in subject of order confirm email. but other "other lang".pnp show that it doesn`t remove. what is the resolve way? Pls help me.!!!! Link to comment Share on other sites More sharing options...
ventura Posted November 24 Share Posted November 24 For any modification of this type, rather than overwriting the class, it would be better to use the hook actionMailAlterMessageBeforeSend to modify the information from a module according to the necessary criteria. https://devdocs.prestashop-project.org/8/modules/concepts/hooks/list-of-hooks/actionmailaltermessagebeforesend/ 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