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

v4.1.x Where is Order Confirmation Print Template called from?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-21-2007, 05:14 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default v4.1.x Where is Order Confirmation Print Template called from?

Hi All

Could anyone point me to the location for this, please?

After the customer places an order he is returned to the site on an Order Confirmation page, governed by "customer/main/order_message.tpl".

I am trying to find where the template is called when a customer opts to "Print" the Confirmation so that I can create and use a different template.

It doesn't seem to call in the usual way.

Thanks
Steve
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
  #2  
Old 03-21-2007, 05:38 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: v4.1.x Where is Order Confirmation Print Template called from?

Take a look at:

/skin1/mail/html/order_invoice.tpl
/skin1/mail/html/order_data.tpl
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 03-21-2007, 05:49 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default Re: v4.1.x Where is Order Confirmation Print Template called from?

Thanks, I know which template is currently being used but I can't find where it gets called from. I have made a new template called "order-acknowledgement" but don't know where to change the instruction !
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
  #4  
Old 03-21-2007, 06:38 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default Re: v4.1.x Where is Order Confirmation Print Template called from?

Ok, I've found it !

It seems to be called via "orders.php" and is using "/skin1/main/order_invoice_print.tpl" (which in turn calls the "html" template). It is the same template / route that admin takes when you print an invoice.

Trouble is I've headed it Delivery Note, so now I have to make another template in the "main" directory.
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 05:20 AM.

   

 
X-Cart forums © 2001-2020