ssertcelik Posted November 5, 2015 Share Posted November 5, 2015 Merhaba, iki ayrı sorum olacak. Sipariş verildikten sonra müşteriye giden e-mail de fatura gitmesini istemiyorum. Nasıl düzenleme yapabilirim. Yardımcı olursanız sevinirim. Pestashop 1.6.0.6 sürümünü kullanıyorum. Saygılarımla. Link to comment Share on other sites More sharing options...
safa Posted November 6, 2015 Share Posted November 6, 2015 (edited) classes/PaymentModule.php dosyasını aç içindeki şu kodları bulup sil dene. if ((int)Configuration::get('PS_INVOICE') && $order_status->invoice && $order->invoice_number) { $order_invoice_list = $order->getInvoicesCollection(); Hook::exec('actionPDFInvoiceRender', array('order_invoice_list' => $order_invoice_list)); $pdf = new PDF($order_invoice_list, PDF::TEMPLATE_INVOICE, $this->context->smarty); $file_attachement['content'] = $pdf->render(false); $file_attachement['name'] = Configuration::get('PS_INVOICE_PREFIX', (int)$order->id_lang, null, $order->id_shop).sprintf('%06d', $order->invoice_number).'.pdf'; $file_attachement['mime'] = 'application/pdf'; } else { $file_attachement = null; } Edited November 6, 2015 by safa (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