fitgura Posted May 19, 2023 Share Posted May 19, 2023 Hello! Unfortunately official email alert module (2.4.1) not works again. I changed the default html and txt templates, but the system only send the default email templates on new order! I just wondering what did I missed out when changed the templates in FTP. I did delete the cache in BO, but sill send the original emails? Please advise THX 1 Link to comment Share on other sites More sharing options...
ComGrafPL Posted May 19, 2023 Share Posted May 19, 2023 Try with this module, its free for managing email templates. Maybe it will show you which templates are set to default. https://addons.prestashop.com/en/administrative-tools/25939-email-templates-manager.html#overview 1 Link to comment Share on other sites More sharing options...
fitgura Posted May 20, 2023 Author Share Posted May 20, 2023 On 5/19/2023 at 1:03 PM, ComGrafPL said: Try with this module, its free for managing email templates. Maybe it will show you which templates are set to default. https://addons.prestashop.com/en/administrative-tools/25939-email-templates-manager.html#overview Unfortuntely there is no working! However I did edit all the emails manualy in the International/email translations/body/etc..... But still send the default emails :(((((( It si really strange! Are the emails (we use modern) record anywhere in the database, we need to change? Any else Idea pelae Link to comment Share on other sites More sharing options...
Nickz Posted May 20, 2023 Share Posted May 20, 2023 On 5/19/2023 at 5:24 AM, fitgura said: email alert module (2.4.1) not works again. is that module able to work in PS 8.0.4? Is it not a 1.6 module? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted May 22, 2023 Share Posted May 22, 2023 Please check the email alert module in the theme folder: Path: themes{Your-theme}\modules\ps_emailalerts In the given path, locate the 'mail' folder and comment it out. By commenting the 'mail' folder, the updated emails will be sent. In PrestaShop, the system checks the mail content in the theme folder, which is why the content saved in the 'mail' folder is sent every time, instead of the translated mail. Please take the necessary steps to comment out the 'mail' folder and ensure that the updated emails are sent correctly. Let us know if you need any further assistance. Link to comment Share on other sites More sharing options...
BonPresta Posted May 23, 2023 Share Posted May 23, 2023 Please make sure you have enabled hooks for this module (enable "Display non-positionable hooks" on Positions page) such as actionOrderEdited, actionOrderReturn, actionProductCoverage, actionUpdateQuantity Link to comment Share on other sites More sharing options...
fitgura Posted May 24, 2023 Author Share Posted May 24, 2023 On 5/22/2023 at 11:55 AM, Knowband Plugins said: Please check the email alert module in the theme folder: Path: themes{Your-theme}\modules\ps_emailalerts In the given path, locate the 'mail' folder and comment it out. By commenting the 'mail' folder, the updated emails will be sent. In PrestaShop, the system checks the mail content in the theme folder, which is why the content saved in the 'mail' folder is sent every time, instead of the translated mail. Please take the necessary steps to comment out the 'mail' folder and ensure that the updated emails are sent correctly. Let us know if you need any further assistance. Excellent solution thank you! I do not know the mechanism behind it, but this trick really trigger the modded emails I requested! THX 1 Link to comment Share on other sites More sharing options...
Knowband Plugins Posted May 25, 2023 Share Posted May 25, 2023 PrestaShop's default mail-sending functionality follows a specific priority order. If a mail folder exists within the theme folder for a particular module, PrestaShop gives precedence to the template file located in that folder over the template files within the module's mail folder. Consequently, when a module's template is translated and stored within the module, the system may still send incorrect emails because it utilizes the template saved in the theme folder instead. Link to comment Share on other sites More sharing options...
fitgura Posted June 26, 2023 Author Share Posted June 26, 2023 THX it is working now :)) 1 Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 16 Share Posted September 16 Go to Advanced Parameters > Logs in the PrestaShop BackOffice and review the logs for any specific error messages related to email sending or the order status change Please check the email alert module in the theme folder as it might cause an issue Path: themes{Your-theme}\modules\ps_emailalerts In the given path, locate the 'mail' folder and comment it out. By commenting the 'mail' folder, the updated emails will be sent. In PrestaShop, the system checks the mail content in the theme folder, which is why the content saved in the 'mail' folder is sent every time, instead of the translated mail. Please take the necessary steps to comment out the 'mail' folder and ensure that the updated emails are sent correctly. Let us know if you need any further assistance. 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