Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to display the customers id in invoice?


Recommended Posts

This is because the information is not available in the page. You'll have to add it before using it.


In admin/includes/classes/order.php, add customers_id field to the query (line 27).

Then add the information to the customer array (after line 47):

'id' => $order['customers_id'],


Now you can use it in orders.php, like this:

print $order->customer['id']

Christian Lescuyer

Link to comment
Share on other sites


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

  • Create New...