| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Which tpl produces the 'Printed Invoice'? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi, I've been editing the screen invoice at mail\html\order_invoice.tpl, but when I click on 'Print invoice' on the order confirmation screen, I can't work out where the printed invoice comes from, as it's different than order_invoice.tpl (which I have just been editing).
(If anybody could explain how it is possible to work this out from Webmaster Mode, or any other way, that would be a great help to me too.) Many thanks for your help.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If you right click and go show source (or show info in FF) on the print preview page, I belive it might show you there.
(goes off to try) Update. Well I tried.. http://yourdomain.com/admin/order.php?orderid=2&mode=invoice Dont have FTP running but i'll try some more stuff later as it's given me a nice idea for a mod ![]()
__________________
Enchance your X-cart with Marketing Manager Pro Bundle For X-cart 4.4.x Now Available Feed Manager Pro for X-cart Advanced Instant Product Search - Google style searching for your site Glossary Mod - Help customers educate themselves Feed Manager 3 Deal Pack - Get Started with Google Base and More Bing X-cart export Feed - Send your items to Bing with this easy mod. http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() look at skin1/main/order_invoice_print.tpl
hth
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
|
#4
|
|||||||
|
|||||||
![]() Thanks Amy2203, I looked through order_invoice_print.tpl, and found that it calls
mail/html/order_invoice.tpl and then just added the word 'TEST' in the middle of one of the lines of data in the invoice, and it appears in both - so it uses the same template! I feel such a fool. I should have noticed all the Code:
throughout order_invoice.tpl. Now I know what I'm doing, I just need to change the properties after the {if $is_nomail eq 'Y'} to what I want, and it will appear on the printed version, but not the screen version. So I can add printed version only text, etc. by putting {if $is_nomail ne 'Y'}<h2>Printed version</h2>{/if} etc.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|