lostrisq Posted September 15, 2011 Share Posted September 15, 2011 When a client places an order, the pdf invoice is sent with the order_conf email. How can I stop this from happening? I do not want the invoice to be sent by email Thanks! 1 Link to comment Share on other sites More sharing options...
TryTwo Posted September 16, 2011 Share Posted September 16, 2011 lol.. I've spent all night trying to figure out how to get the PDF invoice to attach to an email !! I would say edit out the lines in classes/PaymentModule.php // Join PDF invoice if ((int)(Configuration::get('PS_INVOICE')) AND Validate::isLoadedObject($orderStatus) AND $orderStatus->invoice AND $order->invoice_number) { $fileAttachment['content'] = PDF::invoice($order, 'S'); $fileAttachment['name'] = Configuration::get('PS_INVOICE_PREFIX', (int)($order->id_lang)).sprintf('%06d', $order->invoice_number).'.pdf'; $fileAttachment['mime'] = 'application/pdf'; } else $fileAttachment = NULL; 3 Link to comment Share on other sites More sharing options...
lostrisq Posted September 16, 2011 Author Share Posted September 16, 2011 :-) Thank you! Did you figure out your issue? I thought prestashop attached the invoice standard to the conf email. 1 Link to comment Share on other sites More sharing options...
sunpat Posted October 11, 2011 Share Posted October 11, 2011 I am having trouble pdf being attached to the conf email. Is there an modification that i can get help with to get pdf with email conf. I am in need of this mod. Help is much appreciated. Thanks. Link to comment Share on other sites More sharing options...
spott Posted January 8, 2012 Share Posted January 8, 2012 Hi I have right now the same problem. I want to set up so - that when I am changing the order state - then costumer gets e-mail with pdf invoice added. How is it possible? Link to comment Share on other sites More sharing options...
spott Posted January 9, 2012 Share Posted January 9, 2012 No ideas? Link to comment Share on other sites More sharing options...
delroyp Posted March 3, 2012 Share Posted March 3, 2012 I would like the customer's PDF Invoice to be sent the minute order is paid for as well as the delivery slip to be sent automatically when i change the order status to "Preparation in progress" there are a lot of smart people out there...can anyone help with how to get this done... Link to comment Share on other sites More sharing options...
SteFer Posted June 1, 2012 Share Posted June 1, 2012 When a client places an order, the pdf invoice is sent with the order_conf email. How can I stop this from happening? I do not want the invoice to be sent by email Thanks! To resolve this, simply you have to disable attachment in order status of "Payment accepted".. if you disable option to generate pdf here, you will not receive it attached on the second email of Order Confirmation... try to do it and let me know for me it worked! 1 Link to comment Share on other sites More sharing options...
bellini13 Posted June 2, 2012 Share Posted June 2, 2012 To resolve this, simply you have to disable attachment in order status of "Payment accepted".. if you disable option to generate pdf here, you will not receive it attached on the second email of Order Confirmation... try to do it and let me know for me it worked! the request was to remove it from the email, they did not say anything about preventing the invoice from being generated. with your solution, you would not be able to view the invoice from the back office Link to comment Share on other sites More sharing options...
tuk66 Posted June 2, 2012 Share Posted June 2, 2012 When a client places an order, the pdf invoice is sent with the order_conf email. How can I stop this from happening? I do not want the invoice to be sent by email Disable "Send e-mail to customer" for "Payment accepted" and/or maybe else statuses on Back Office > Orders > Statuses Link to comment Share on other sites More sharing options...
delroyp Posted June 2, 2012 Share Posted June 2, 2012 I would like my email to have the PDF attached...how do i do it.... Right now its a HTML invoice..... I would like both to be sent, I would like them to get the html invoice with the PDF attached. Link to comment Share on other sites More sharing options...
Bejo Posted October 8, 2012 Share Posted October 8, 2012 I would like my email to have the PDF attached...how do i do it.... Right now its a HTML invoice..... I would like both to be sent, I would like them to get the html invoice with the PDF attached. Yess... i need this info also! Link to comment Share on other sites More sharing options...
artofadornment Posted March 8, 2013 Share Posted March 8, 2013 (edited) Putting another word in for help in stopping the PDF invoice from being attached to the confirmation email. This is probably more important than you might think actually, because in all my test orders using various different web-based email addresses (Gmail, Hotmail etc.), ALL of my order confirmations are getting filtered as spam. In other words, there is a very good chance that the customer might never even see them. I am almost positive it's because of the attachment (mail programs defaulted to not allowing attachments from email addresses that aren't already in the user's contact list). Besides, attaching the PDF is redundant; all the order data the customer needs is right there in the email itself anyway. Edited March 8, 2013 by artofadornment (see edit history) Link to comment Share on other sites More sharing options...
EGBee Posted April 19, 2013 Share Posted April 19, 2013 If you do not want the pdf invoice to be sent along with the email, the do the following: Orders Statuses Edit and uncheck the "Allow customer to download and view PDF version of invoice" Link to comment Share on other sites More sharing options...
sshare Posted April 30, 2013 Share Posted April 30, 2013 I have the opposite problem the invoice does not get attached to the order confirmation email, there's a ton of posts about people wanting to add it or remove it but no answers, surely someone must have figured this out by now. Link to comment Share on other sites More sharing options...
delroyp Posted May 14, 2013 Share Posted May 14, 2013 once the order is placed i would like to customer to get a email with the PDF invoice attached along with the HTML verion Link to comment Share on other sites More sharing options...
EGBee Posted May 14, 2013 Share Posted May 14, 2013 Just to do the following Orders Statuses Edit and Check the "Allow customer to download and view PDF version of invoice" Link to comment Share on other sites More sharing options...
btc.dev Posted February 22, 2014 Share Posted February 22, 2014 Hi, If you want the PDF invoice to be attached to the mail sent to a customer for an order status change you can use our module http://btcdev.net/en/mail-attachment-order Regards, BTConsulting Link to comment Share on other sites More sharing options...
farnamjam Posted April 19, 2014 Share Posted April 19, 2014 I did it the way stefer says it worked thanks 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