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

Put order ID in confirmation message

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-12-2009, 07:36 PM
 
Dizzi Dizzi is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: Australia
Posts: 38
 

Default 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.
__________________
4.0.18 (Gold)
Linux
Add ons: AOM, Prod Config, DSEFU
www.dizzidezine.com.au
Reply With Quote
  #2  
Old 05-13-2009, 03:13 PM
 
Dizzi Dizzi is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: Australia
Posts: 38
 

Default 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}
__________________
4.0.18 (Gold)
Linux
Add ons: AOM, Prod Config, DSEFU
www.dizzidezine.com.au
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:26 PM.

   

 
X-Cart forums © 2001-2020