X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   v4.1.x Where is Order Confirmation Print Template called from? (https://forum.x-cart.com/showthread.php?t=29866)

Steve-C 03-21-2007 05:14 AM

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

carpeperdiem 03-21-2007 05:38 AM

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

Steve-C 03-21-2007 05:49 AM

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 !

Steve-C 03-21-2007 06:38 AM

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.


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

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