Jump to content

how can i delete invoice section ?


Recommended Posts

Hi, you need to edit two TPL files
1) go to: themes/YOUR_THEME/history.tpl
find: {l s='Invoice'}
and coment this code with <!-- -->
like: <!--{l s='Invoice'}-->

Find code:

{if ($order.invoice or $order.invoice_number) AND $invoiceAllowed}
{l s='Invoice'} {$order.name|escape:'htmlall':'UTF-8'}
{l s='PDF'}
{else}-{/if}


and do the same (<!-- -->)

2) In order details - in the bottom of the order history you can find a link to pdf invoice - to remove it:

Go to themes/YOUR_THEME/order-detail.tpl
find:
{if $invoice AND $invoiceAllowed}


pdf.gif
id|intval}">{l s='Download your invoice as a .PDF file'}




and do the same as above (<!-- -->)
Link to comment
Share on other sites

×
×
  • Create New...