"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"
Also in the init() method of the AdminOrderDetails class, add a line that reads the data of the customer who made the order: $this->mOrderInfo = Orders::GetOrderInfo($this->mOrderId); $this->mOrderDetails = Orders::GetOrderDetails($this->mOrderId); $this->mCustomerInfo = Customer::Get($this->mOrderInfo['customer_id']); // Value which specifies whether to enable or disable edit mode if (isset ($_GET['submitEdit'])) 7. Modify presentation/templates/admin_order_details.tpl as highlighted: