View Single Post
  #1  
Old 09-20-2004, 10:59 PM
  painfulpleasures's Avatar 
painfulpleasures painfulpleasures is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: baltimore MD
Posts: 37
 

Default Modifing the main/order_invoice_print.tpl Template

Im trying to modify the Invoices that we print from xcart. I want to add my companies name and address on each invoice so we don't have to stamp the invoices by hand.

http://www.painfulpleasures.com/body_jewelry/images/invoice_image.gif

this is the information or image im trying to put in the template

This is the Order Invoice Print Template below


<html><body><pre>
{section name=oi loop=$orders_data}
{ include file="mail/order_invoice.tpl" order=$orders_data[oi].order customer=$orders_data[oi].customer products=$orders_data[oi].products giftcerts=$orders_data[oi].giftcerts}http://www.painfulpleasures.com/body_jewelry/images/invoice_image.gif

{if $config.Appearance.print_orders_separated eq "Y"}
{assign var="separator" value="<DIV style='page-break-after:always'></DIV>"}
{else}
{assign var="separator" value="=========================================== ===================================="}
{/if}
{if not %oi.last%}
{$separator}

{/if}
{/section}
</pre></body></html>


I can insert the image and when i do a test print the image appears at the top which is ok, but i need to put the image off to the right in the dead space.

On the left we have the default invoice set up, with the order Id, Customer name, Customer billing and shipping address and on the right is about half a page of nothing. If i can put my companies info over there that will save us paper and stamping.

please advise how i would modify the template to do this?

Thanks again

marc
__________________
Xcart gold 3.5.4
Reply With Quote