Karolek Posted November 5, 2018 Share Posted November 5, 2018 Hey, COD and Ship2pay plugin, prestashop 1.6. My problem is that after placing an order PrestaShop sends two e-mails: Placing an order and Order fulfillment. I want the message ORDER COMPLETION not to be sent. Because first I have to check the order. I can not find an option how to change it. Link to comment Share on other sites More sharing options...
Karolek Posted November 5, 2018 Author Share Posted November 5, 2018 If someone have this problem: validation.php if (Tools::getValue('confirm')) { $customer = new Customer((int)$this->context->cart->id_customer); $total = $this->context->cart->getOrderTotal(true, Cart::BOTH); $this->module->validateOrder((int)$this->context->cart->id, Configuration::get('PS_OS_CHEQUE'), $total, $this->module->displayName, null, array(), null, false, $customer->secure_key); Tools::redirectLink(__PS_BASE_URI__.'order-confirmation.php?key='.$customer->secure_key.'&id_cart='.(int)$this->context->cart->id.'&id_module='.(int)$this->module->id.'&id_order='.(int)$this->module->currentOrder); } This is good: get('PS_OS_CHEQUE') 1 Link to comment Share on other sites More sharing options...
El Patron Posted November 5, 2018 Share Posted November 5, 2018 (edited) try this, back office-->orders-->statuses there you can define when/if an email is sent to customer amongst other things happy selling, el Edited November 5, 2018 by El Patron spelling (see edit history) 1 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