Jump to content

Add to invoice


Ms Holly

Recommended Posts

I'd like to be able to add ordered by (billing name) to my invoice so when I print them out I can see easily if it's ordered by someone else and therefore generally requires that we leave out the invoice etc.

Perhaps on top of the shipping address or bottom

Corner ... Anywhere really Just the name is ok

It would be great to be able to edit this document like you can all the email templates

Link to comment
Share on other sites

Sorry to say, the Packing Slip (Invoice) is a full HTML document that comes formatted for a common A4-sized "invoice with labels" stock.

 

That file is adminskinsdefaulttemplatesorders.print.php

 

Find this group of HTML statements:

          <div>
              {if !empty($order.name_d) && empty($order.last_name_d)}{$order.name_d}{else}{$order.title_d} {$order.first_name_d} {$order.last_name_d}{/if}<br />
              {if !empty($order.company_name_d)}{$order.company_name_d}<br />{/if}
              {$order.line1_d} <br />
              {if !empty($order.line2_d)}{$order.line2_d}<br />{/if}
              {$order.town_d}<br />
              {$order.state_d}, {$order.postcode_d}<br />
              {$order.country_d}
          </div>

You can add the same thing (or lay it out differently) wherever you need to, but change all the variables to remove the _d part. That is, the new group of HTML statements will replace {$order.name_d} with {$order.name}.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...