Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Displaying Order Number on Checkout Success Page


James Ecker

Recommended Posts

Hi, Everyone.

 

I am trying to display the customer's order number on the Order Checkout Success Screen. I found this code on the forums:

 

echo TEXT_YOUR_ORDER_NUMBER . $orders['orders_id'] . '<br><br>';

 

When I put that in the shop/includes/languages/english/checkout_success.php file it goes to displaying only a blank screen.

 

Am I putting this code in the wrong file, or is the code not appropriate?

 

Thanks!

Link to comment
Share on other sites

Hi, Everyone.

 

I am trying to display the customer's order number on the Order Checkout Success Screen. I found this code on the forums:

 

echo TEXT_YOUR_ORDER_NUMBER . $orders['orders_id'] . '<br><br>';

 

When I put that in the shop/includes/languages/english/checkout_success.php file it goes to displaying only a blank screen.

 

Am I putting this code in the wrong file, or is the code not appropriate?

 

Thanks!

Where did the post say to put it?

Link to comment
Share on other sites

The blank page typically means there were fatal errors on the page (often a parse error), but that PHP errors are disabled on the server (as they should be for production systems) so you're not seeing the message. They do, however, get written to the error log. Check your server error logs just after loading the page and let us know what the error message says.

I say not to you, "backup your files before you change them." I say, rather, "use Subversion, and never worry about ruining your files again."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...