targetnetwork Posted July 26, 2013 Share Posted July 26, 2013 (edited) Using Mail Alerts Module 2.3 with PS 1.4.9I have the customer order confirmation email showing prices without tax and tax on a separate line and total all working nicely.How do I get the merchant new order email to do the same?Any help is greatly appreciated, and once done I can launch site!Regards, Dino Edited September 9, 2013 by El Patron marked as solved (see edit history) Link to comment Share on other sites More sharing options...
targetnetwork Posted July 27, 2013 Author Share Posted July 27, 2013 Anybody??? Link to comment Share on other sites More sharing options...
El Patron Posted August 1, 2013 Share Posted August 1, 2013 find the working email under translations-->emails copy that html (don't forget the txt version) of what is displaying here but not in the mechante email find the merchant email (translation-->emails) add that line(s) of html with 'field name' to that email... save it let us know how it goes Link to comment Share on other sites More sharing options...
El Patron Posted August 1, 2013 Share Posted August 1, 2013 note the filed may not display if the variable is not passed by the controller calling the 2nd email in your example. You would then need to add the variable passed to the controller, like the controller of the first email example. Just search on the two different names of the emails, you see the file names when your are in translations.. Link to comment Share on other sites More sharing options...
targetnetwork Posted August 2, 2013 Author Share Posted August 2, 2013 Hi, Thank you very much for your help! You were right with the second (copied) email not showing the variable. What files and code do I look for and add to make the controller work? Here is the original order confirmation email: Copied html over to /modules/mailalerts/mails/en/new_order.html Link to comment Share on other sites More sharing options...
El Patron Posted August 2, 2013 Share Posted August 2, 2013 as I mentioned above you can search for the first email name and the corresponding controller that creates the variables, then do the same for the 2nd email. Then you should be able to pass the missing variable to the .tpl. Sorry I wanted to post the code but I am super busy right now away from the computer most of the time for the next few days. Link to comment Share on other sites More sharing options...
targetnetwork Posted August 3, 2013 Author Share Posted August 3, 2013 Hi, I really appreciate the help you have provided. And I understand we all have lives ;-) I'm not versed with the controllers, so, if and when you have the time, if you could share the code with me, I would be greatful! Dino Link to comment Share on other sites More sharing options...
El Patron Posted August 5, 2013 Share Posted August 5, 2013 I have updated the mail alerts module. mailalerts.zip 1. uninstall and delete your native mailalerts module (keep back up by ftping to your local host or you can get native by unzipping 1.4.9.0 2. install attached module Test your order making sure to have the {total_tax} tag in your email. Let me know how that works out for you. Fred Link to comment Share on other sites More sharing options...
targetnetwork Posted August 6, 2013 Author Share Posted August 6, 2013 Hi Fred, Ran 3 test orders via check. Now no emails are sent and no orders recorded in back end. Here is what I see on confirmation. Link to comment Share on other sites More sharing options...
El Patron Posted August 6, 2013 Share Posted August 6, 2013 sorry about that....I forgot to take out the traps...I was working where there was no ftp nor mailserver testing.... reload from the previous download link above. I still have an issue with the total_tax, it display but has the {} brackets in the email...work on that tomorrow. Fred Link to comment Share on other sites More sharing options...
targetnetwork Posted August 6, 2013 Author Share Posted August 6, 2013 Hi Fred... nice. Really close to what I need. In the customer confirmation. The price shows items with tax excluded. Can we do the same on the merchant email? Many thanks, Dino Link to comment Share on other sites More sharing options...
targetnetwork Posted August 7, 2013 Author Share Posted August 7, 2013 Hi Fred, Just following up on my last post... Really close to what I need. In the customer confirmation. The price shows items with tax excluded. Can we do the same on the merchant email? Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2013 Share Posted August 8, 2013 Hi Dino, I apologize, I did not see that you had posted here. yes, I will need to modify the mailalerts to show price excluding tax and re-post the code here. Link to comment Share on other sites More sharing options...
targetnetwork Posted August 8, 2013 Author Share Posted August 8, 2013 Thank you! Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2013 Share Posted August 8, 2013 reposted the module...mailalerts..now that you pointed it out..is a bit of a mess Link to comment Share on other sites More sharing options...
targetnetwork Posted August 9, 2013 Author Share Posted August 9, 2013 I downloaded the module again... It hasn't been updated correct? Dino Link to comment Share on other sites More sharing options...
El Patron Posted August 21, 2013 Share Posted August 21, 2013 Hi Dino, please reload the module above; http://www.prestashop.com/forums/index.php?/topic/264333-sperarate-tax-line-on-merchant-new-order-email/page__view__findpost__p__1329253 1 Link to comment Share on other sites More sharing options...
targetnetwork Posted August 21, 2013 Author Share Posted August 21, 2013 EXCELLENT!!! Thanks for your time Fred. Regards, Dino Link to comment Share on other sites More sharing options...
El Patron Posted September 9, 2013 Share Posted September 9, 2013 EXCELLENT!!! Thanks for your time Fred. Regards, Dino Glad it worked out for you. Happy PrestaShopping Dino I will mark this as solved. Link to comment Share on other sites More sharing options...
julian walker Posted November 5, 2013 Share Posted November 5, 2013 (edited) Hi El Patron I downloaded your updated mail alerts folder in order to add the tax line to the merchant new order email I am now getting this fault where the the unit price is being altered by the quantity instead of the Total price The Unit Price is £5.10 See below This does not affect the end calculation which is correct Can you help? Thanks Julian Edited November 5, 2013 by julian walker (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts