Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Full Free Custom Invoice

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 09-30-2003, 11:41 AM
 
manolodf manolodf is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 50
 

Default order id

How would i be able to put the Order ID above the name and address in that example?
__________________
X-Cart Gold v4.1.9
Reply With Quote
  #12  
Old 01-05-2004, 01:38 PM
 
Xixao Xixao is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 32
 

Default

Here's a quick little revision of this mod to make things a little more personal. Change the text written in bold! In your /skin1/orders/invoice.tpl...

Replace:
Quote:
<tr>
<td width="15%" height="1" rowspan="2" nowrap style="border-right-style: solid; border-right-width: 2"
bgcolor="#E1E1E1" valign="bottom">
<p align="center" style="margin-left: 1; margin-right:1">
<font face="Courier New" size="5">ORDER INFO</font>
</td>

With:
Quote:
<tr>
<td width="15%" height="1" rowspan="2" nowrap style="border-right-style: solid; border-right-width: 2"
bgcolor="#E1E1E1" valign="bottom">
<p align="center" style="margin-left: 1; margin-right:1">[b]
[img]YOUR_LOGO.jpg[/img]</img></td>

To add your company's logo to the top-left corner of the invoice. To add a thank you message, or something similar...

Add this to the end of the file, before the </table>:
Quote:
<tr>
<td width="806" align="center" height="125" colspan="5"></td>
</tr>
<tr>
<td width="11" height="1" style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
<td width="40" height="1" nowrap style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
<td width="69" height="1" nowrap style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
<td width="364" height="1" nowrap style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
<td width="126" nowrap height="1" style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
<td width="92" height="1" style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
<td width="314" height="1" style="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: dotted; border-bottom-width: 1"></td>
</tr>
<tr>
<td width="806" align="center" height="1" colspan="5">
<p align="center"><font size="2">Thank you for shopping at My store! Should you have any questions about this or another order, feel free to contact us via e-mail at support@mystore.com or via telephone at (555)555-5555.</font></td>


That last bit can probably be toned down to a single table, but I wrote this addition free-hand, so the sizes are a copy & paste job. Hope this helps some of you!
Reply With Quote
  #13  
Old 01-05-2004, 07:22 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Very nice, thanks. Im going to make my own hacks on this now that I can see it is relatively easy.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #14  
Old 01-06-2004, 08:40 AM
 
Xixao Xixao is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 32
 

Default

By the way, the image files called on by the code above should be placed in your '[x-cart directory]/admin/' directory, or you will end up with missing images.
__________________
www.just-your-style.com (X-Cart Gold 3.5.2)
Minor modifications
X-Affiliate
X-Configurator
-{Site in development}-
Reply With Quote
  #15  
Old 04-07-2005, 11:54 AM
 
Jeremy.Freeman Jeremy.Freeman is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 79
 

Default

Any clue how to get this invoice to work on the customer end, and not just the admin end? It works great when Im logged in under Admin and view an invoice, but as submitting the shopping cart and finalizing the order, when you got print the invoice on the last page mine still shows up as plain text.. any help on this would be appreciated!
__________________
Jeremy Freeman
EZWatch Store
X-Cart v4.1.5
Reply With Quote
  #16  
Old 09-09-2005, 07:59 PM
 
leafy leafy is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 6
 

Default Brilliant mod

Hi Anovack

Did you ever manage to get this great mod to print invoices from the confirmation version of cart.php which is the redirect page used after a secure payment?

works fine on 3.5.11
__________________
X-Cart version 3.5.11
PHP 4.3.10
MySQL server 3.23.54
MySQL client 4.0.12
Web server Apache/1.3.33 (Unix)
Operation system FreeBSD
Perl 5.00503
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:25 AM.

   

 
X-Cart forums © 2001-2020