Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How to add an extra print option on admin order page Rate Topic   - - - - -

 

Posted 20 August 2012 - 04:52 PM #1

How do you add an extra printing option in the admin orders page?

Ive modified the 'packing slip' to include a 1st class PPI from royalmail, when you click
the 'print packing slip' its printed with the address label with the stamp impression just
above


id like to add another link to enable me to add another 'print packing slip' but the 'packing slip'
will be slightly different with a 2nd class PPI image included in it.

Im thinking all itll be is putting another link in to this page, say 'print packing slip 2' and having
that link to the second modified 'packing slip' in skins/basic/mail/orders/print_packing_slip_2.tpl

the 2nd tpl is exactly the same as the first just with a different image at the top

I had a look with firebug at this page, but haven't got a clue where to put another 'tool-link'

<div class="extra-tools">


<span id="order_extra_tools">


<a class="tool-link" onclick="window.open(this.href,'popupwindow','width=900,height=600,toolbar=yes,status=no,scrollbars=yes,resizable=no,menubar=yes,location=no,direction=no'); ; return false;" href="adminlogin.php?dispatch=orders.print_invoice&order_id=1001296">Print invoice</a>

<a class="tool-link" href="adminlogin.php?dispatch=orders.print_invoice&order_id=1001296&format=pdf">Print invoice (pdf)</a>

<a class="tool-link" onclick="window.open(this.href,'popupwindow','width=900,height=600,toolbar=yes,status=no,scrollbars=yes,resizable=no,menubar=yes,location=no,direction=no'); ; return false;" href="adminlogin.php?dispatch=orders.print_packing_slip&order_id=1001296">Print packing slip</a>

<a class="tool-link" href="adminlogin.php?dispatch=order_management.edit&order_id=1001296">Edit order</a>

<a class="tool-link" href="adminlogin.php?dispatch=rma.create_return&order_id=1001296">Request a replacement or a refund</a>
</span>

Posted Image

 

Posted 10 May 2014 - 01:25 AM #2

Did you ever manage to resolve this? I'm trying to do something very similar!