X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Compact Attractive Invoice (https://forum.x-cart.com/showthread.php?t=39868)

Primordial Performance 06-04-2008 04:13 PM

Re: Compact Attractive Invoice
 
How do I get to the place where I would find this code? Do I need an FTP client?[/font]

balinor 06-04-2008 04:27 PM

Re: Compact Attractive Invoice
 
I think perhaps you should start here:

http://forum.x-cart.com/showthread.php?t=21529

Troy 10-13-2008 10:48 PM

Re: Compact Attractive Invoice
 
2 Attachment(s)
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.

Troy 10-13-2008 11:01 PM

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.

JWait 10-16-2008 01:26 PM

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

Troy 10-16-2008 02:46 PM

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??

Learner 07-10-2009 10:15 PM

Re: Compact Attractive Invoice
 
Hi,
Is it possible to call manufactures logo/name at the bottom of the invoice?

Thank you.

hoosierglass 02-25-2010 06:52 AM

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.

JWait 02-25-2010 07:51 AM

Re: Compact Attractive Invoice
 
2 Attachment(s)
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.

hoosierglass 02-25-2010 08:09 AM

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.


All times are GMT -8. The time now is 04:00 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.