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

Compact Attractive Invoice

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 06-04-2008, 04:13 PM
 
Primordial Performance Primordial Performance is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 49
 

Default Re: Compact Attractive Invoice

How do I get to the place where I would find this code? Do I need an FTP client?[/font]
__________________
Primordial Performance X-cart 4.2.10
Modules: Advanced Order Management, Checkout_one, Discount Coupons, Extra Fields, FedEx Rates, FedEx Ship, FedEx Subscription, FedEx Track, HTML Editor, Order Tracking, On-Sale, and X-Affiliate,
BCSE Reward Points System,
Upselling Products,
Product Options,
Reply With Quote
  #12  
Old 06-04-2008, 04:27 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Compact Attractive Invoice

I think perhaps you should start here:

http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 10-13-2008, 10:48 PM
 
Troy Troy is offline
 

Member
  
Join Date: Apr 2008
Location: Santa Barbara CA
Posts: 13
 

Default Re: Compact Attractive Invoice

At last I've gotten around to incorporating a number the good suggestions I got some time back from carpeperdiem (thanks, Jeremy). It's not perfect yet,* but I think it's better than the vanilla version.

I'm attaching the final invoice code, as it's too long to fit in the regular thread, and a sample jpg to show how it ended up.

Enjoy...

* - Don't know why OrderID wrapped, causing a two-line entry; Payment is two-line also, but just because the extra wording re test mode forced that. For several other invoices I printed, those lines both came out single, making the vertical spacing more efficient.
Attached Thumbnails
Click image for larger version

Name:	CompactInvoice.gif
Views:	247
Size:	28.3 KB
ID:	1177  
Attached Files
File Type: tpl order_invoice-compacted.tpl (10.3 KB, 123 views)
__________________
Troy
X-Cart 4.1.8 Win
CalligraphyByCarla
In Preview mode
Reply With Quote
  #14  
Old 10-13-2008, 11:01 PM
 
Troy Troy is offline
 

Member
  
Join Date: Apr 2008
Location: Santa Barbara CA
Posts: 13
 

Default Re: Compact Attractive Invoice

Quote:
Originally Posted by tamicampos
Would you mind sharing your code and which labels the invoice is compatible with? Thanks.

Tami, I've posted the code for my compact invoice. As I said earlier, it's not designed for use on label stock, but if there's anything about it you'd like to clone, have at it.

Troy
No reply awaited.
__________________
Troy
X-Cart 4.1.8 Win
CalligraphyByCarla
In Preview mode
Reply With Quote
  #15  
Old 10-16-2008, 01:26 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Compact Attractive Invoice

Ok, I'm flummuxed. How did you get your tax to appear correctly instead of as an afterthought....."including XX Tax XX% $X.XX after the total"? I would like it to be....

Subtotal <--- not including the sales tax!
Discounted Total <-- if there is one
Shipping
Sales Tax <--- here instead of "added-on" after the total is displayed.
Order Total
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #16  
Old 10-16-2008, 02:46 PM
 
Troy Troy is offline
 

Member
  
Join Date: Apr 2008
Location: Santa Barbara CA
Posts: 13
 

Default Re: Compact Attractive Invoice

My tinkering at the bottom of the invoice page was done months ago, so I don't recall what if anything I did to affect the SalesTax display sequence. The recent work only related to minor formatting in the middle of the page.

You could compare the code in that lower area between mine and yours to distinguish the differences.

I'm on 4.1.8, so maybe 4.1.10ff is different??
__________________
Troy
X-Cart 4.1.8 Win
CalligraphyByCarla
In Preview mode
Reply With Quote
  #17  
Old 07-10-2009, 10:15 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Compact Attractive Invoice

Hi,
Is it possible to call manufactures logo/name at the bottom of the invoice?

Thank you.
__________________
4.6.1 Platinum


Reply With Quote
  #18  
Old 02-25-2010, 06:52 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Compact Attractive Invoice

Quote:
Originally Posted by JWait
Ok, I'm flummuxed. How did you get your tax to appear correctly instead of as an afterthought....."including XX Tax XX% $X.XX after the total"? I would like it to be....

Subtotal <--- not including the sales tax!
Discounted Total <-- if there is one
Shipping
Sales Tax <--- here instead of "added-on" after the total is displayed.
Order Total

I know this is a little old, but for the life of me I cannot figure out how to fix the order_data.tpl to display like JWait is wanting. Did anyone ever figure this out? I hate the default way X-cart does this and it confuses the customer.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #19  
Old 02-25-2010, 07:51 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Compact Attractive Invoice

Attached is the skin1/mail/html/order_data.tpl that we use for version 4.1.10. I included a bmp screenshot so you can see what we ended up with.
Attached Images
File Type: bmp receipt.bmp (158.9 KB, 163 views)
Attached Files
File Type: tpl order_data.tpl (8.1 KB, 89 views)
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #20  
Old 02-25-2010, 08:09 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Compact Attractive Invoice

That didn't work. The more I look at this here is the problem:

Order Subtotal is displayed with the following:
{include file="currency.tpl" value=$order.display_subtotal} The value listed here has already gone through an if statement to determine if tax should be applied in the math equation to get to this value. The same holds true if you are in a state that taxes shipping as well. Here is the line:
{include file="currency.tpl" value=$order.display_shipping_cost}

Where can I find the $order.display information?

This is what needs to be changed.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 02:19 PM.

   

 
X-Cart forums © 2001-2020