japanknife Posted July 24, 2014 Share Posted July 24, 2014 (edited) I have installed the prestashop 1.6.0.6 and when a customer placed an order, it generate an invoice. In the back office I have the invoices disabled but still generate an invoice. Any solution? Thanks Edited July 24, 2014 by japanknife (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 24, 2014 Share Posted July 24, 2014 Are you talking about the invoices sent to customers? If so, you can go to mails and turn that email off. Link to comment Share on other sites More sharing options...
japanknife Posted July 24, 2014 Author Share Posted July 24, 2014 No, the prestashop generates a pdf file, that the customer can download. I don't want this pdf. But about your answer, I also dont' want that the customer receive an e-mail with the invoice, where can disable the e-mail? I make the invoices with our "office" software and I can not have a different invoices. Link to comment Share on other sites More sharing options...
vekia Posted July 24, 2014 Share Posted July 24, 2014 hello regarding to the invoices download, you can remove download button from .tpl file order-detail.tpl located in your theme directory <p> <i class="icon-file-text"></i> <a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a PDF file.'}</a> </p> remove code that i pasted 1 Link to comment Share on other sites More sharing options...
vekia Posted July 24, 2014 Share Posted July 24, 2014 also you can remove invoice column from history.tpl file (the same directory) <td class="history_invoice"> {if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true} <a class="link-button" href="{$link->getPageLink('pdf-invoice', true, NULL, "id_order={$order.id_order}")|escape:'html':'UTF-8'}" title="{l s='Invoice'}" target="_blank"> <i class="icon-file-text large"></i>{l s='PDF'} </a> {else} - {/if} </td> and <th data-sort-ignore="true" data-hide="phone,tablet" class="item">{l s='Invoice'}</th> 1 Link to comment Share on other sites More sharing options...
japanknife Posted July 24, 2014 Author Share Posted July 24, 2014 Thank you very much for your help Link to comment Share on other sites More sharing options...
vekia Posted July 24, 2014 Share Posted July 24, 2014 you're welcome you found option in back office to display invoice mail? Link to comment Share on other sites More sharing options...
Recommended Posts