Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is there a way to display the order number on thank you page?


sarah1980

Recommended Posts

In checkout_success (the thank you for your order page) is there any way to display the customer's order number?

 

in the standard layout, the order id is retrieved from db for compiling the notifications

so

 

add this to your page where you want the order id to appear:

 

echo $orders['orders_id'];

Link to comment
Share on other sites

in the standard layout, the order id is retrieved from db for compiling the notifications

so

 

add this to your page where you want the order id to appear:

 

echo $orders['orders_id'];

 

that will only work if global product notifications is enabled.

Treasurer MFC

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...