smiledog Posted October 11, 2009 Share Posted October 11, 2009 Please help, I am trying to display gender in the backoffice Orders, can't find the solution. Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2009 Share Posted October 12, 2009 Change line 470 of admin/tabs/AdminOrders.php from: id.'&viewcustomer;&token;='.Tools::getAdminToken('AdminCustomers'.intval(Tab::getIdFromClassName('AdminCustomers')).intval($cookie->id_employee)).'"> '.$customer->firstname.' '.$customer->lastname.' ('.$this->l('#').$customer->id.') to: id.'&viewcustomer;&token;='.Tools::getAdminToken('AdminCustomers'.intval(Tab::getIdFromClassName('AdminCustomers')).intval($cookie->id_employee)).'"> '.$customer->firstname.' '.$customer->lastname.' ('.$this->l('#').$customer->id.') <img src="../img/admin/'.($customer->id_gender == 2 ? 'female' : ($customer->id_gender == 1 ? 'male' : 'unknown')).'.gif" /> Link to comment Share on other sites More sharing options...
smiledog Posted October 12, 2009 Author Share Posted October 12, 2009 rocky, thank you so much. Link to comment Share on other sites More sharing options...
Recommended Posts