Roman0002 Posted August 31, 2014 Share Posted August 31, 2014 Hi, I need help. Where exactly do I find .tpl file in the administration section of the order. In Annex I put the image exactly which section I (defined red frame). I need there to make a few minor adjustments. For all the answers thank you in advance Have a nice day Link to comment Share on other sites More sharing options...
Eolia Posted August 31, 2014 Share Posted August 31, 2014 admin/themes/default/template/controllers/orders Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2014 Share Posted August 31, 2014 if you want to manage fields you see in red rectangle you have to modify controller, not .tpl file Link to comment Share on other sites More sharing options...
Roman0002 Posted August 31, 2014 Author Share Posted August 31, 2014 I know where the file order.tpl but there it can not be overwritten. Ok, where can I find controller. I want the ID order to appear only for super admin. Link to comment Share on other sites More sharing options...
El Patron Posted August 31, 2014 Share Posted August 31, 2014 hopefully ps development will finish helpers for bo... this really hampers doing anything interesting in bo and fo. ave maria pues (omg in ColOmbia) Link to comment Share on other sites More sharing options...
Roman0002 Posted August 31, 2014 Author Share Posted August 31, 2014 if you want to manage fields you see in red rectangle you have to modify controller, not .tpl file Ok, where can I find controller. I want the ID order to appear only for super admin. Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2014 Share Posted August 31, 2014 controllers/admin/AdminOrdersController.php you've got there code with "fields_list" 'id_order' => array( 'title' => $this->l('ID'), 'align' => 'text-center', 'class' => 'fixed-width-xs' ), depending on who is viewing orders page - define different fields_list for admin - fields_list with id_order, for others - without Link to comment Share on other sites More sharing options...
Roman0002 Posted August 31, 2014 Author Share Posted August 31, 2014 controllers/admin/AdminOrdersController.php you've got there code with "fields_list" 'id_order' => array( 'title' => $this->l('ID'), 'align' => 'text-center', 'class' => 'fixed-width-xs' ), depending on who is viewing orders page - define different fields_list for admin - fields_list with id_order, for others - without Thank you very much for your help. Link to comment Share on other sites More sharing options...
Roman0002 Posted August 31, 2014 Author Share Posted August 31, 2014 controllers/admin/AdminOrdersController.php you've got there code with "fields_list" 'id_order' => array( 'title' => $this->l('ID'), 'align' => 'text-center', 'class' => 'fixed-width-xs' ), depending on who is viewing orders page - define different fields_list for admin - fields_list with id_order, for others - without I have one question. I would like to verify the reference number order rather ... well I want some employees did not see the reference number of the order but I want to be there the search box under the reference number of the order and I want to align differently than it was originally. Which php file / s should I overwritte? Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2014 Share Posted August 31, 2014 i don't understand you want to hide reference id but don't want to hide reference bar to search orders by reference ? Link to comment Share on other sites More sharing options...
Roman0002 Posted August 31, 2014 Author Share Posted August 31, 2014 i don't understand you want to hide reference id but don't want to hide reference bar to search orders by reference ? Yes. I do not want employees to see the reference number of the order but I want to be there window search by reference number order. Because when I need to send reference number of the order a reference number of employees, and he then finds order .... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now