Mayur Savaliya Posted September 7, 2017 Share Posted September 7, 2017 Hello All, I'm creating a payment module in Prestashop 1.6. I have requirement of placing order before actual payment is made. I have used custom status while placing order here. So I want to restrict email to customer while placing orders. I have disabled the Send email to customer flag from admin/order/statuses screen. But it is still sending an email. Do anyone have faced issue like this? Link to comment Share on other sites More sharing options...
bellini13 Posted September 8, 2017 Share Posted September 8, 2017 which exact email are we talking about. When placing a new order, there are possible 3-4 emails that Prestashop will send. Link to comment Share on other sites More sharing options...
Mayur Savaliya Posted September 8, 2017 Author Share Posted September 8, 2017 It's order confirmation email. Actually I am placing order before doing actual payment and at that moment I don't want to send an email. Link to comment Share on other sites More sharing options...
bellini13 Posted September 9, 2017 Share Posted September 9, 2017 then you will need to customize the Payment Module class, there is no order status associated with the order confirmation email. 1 Link to comment Share on other sites More sharing options...
Scully Posted September 9, 2017 Share Posted September 9, 2017 (edited) Bellini13 is correct. And maybe you also should note the fact that it isn't very easy to send an similar mail to order confirmation in any later order state. The reason for this is that the variables for products, prices etc. are not available in later order states. And by the way - this question might be in the wrong forums section. It's more a question and for sure it's not a bug. Edited September 9, 2017 by Scully (see edit history) 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