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)
-   -   Put order ID in confirmation message (https://forum.x-cart.com/showthread.php?t=47519)

Dizzi 05-12-2009 07:36 PM

Put order ID in confirmation message
 
Hi,
I'm trying to get the order id to display in the order confirmation screen. What I want it to say is
"Congratulations! Your order has been successfully placed.Your order ID is 12345"

I added from the /mail/html/order_invoice.tpl this code

{$lng.lbl_order_id}:</B> #{$order.orderid}

The problem is, it does not bring in the order ID, only the label. I have tried it within the /mail/html/order_invoice.tpl by placing it elsewhere and it works fine. I'm assuming that I am leaving out some reference to order_invoice.tpl.Any help would be greatly appreciated.

Dizzi 05-13-2009 03:13 PM

Re: Put order ID in confirmation message
 
OK, have got some feedback from tech support. They sent me the code on how to do this so thought I would pass it on in case anyone needed it.

{section name=oi loop=$orders} <B>{$lng.lbl_order_id}:</B> #{$orders[oi].order.orderid} {/section}


All times are GMT -8. The time now is 06:50 PM.

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