Jump to content

Add new column in AdminOrders.php


hegos

Recommended Posts

Hi,

I can't find the solution how to add new column in BO Orders overview.

 

I would like to add in AdminOrders tab right before this line located on line 57:

 

'id_order' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),

 

a new line showing the URL with Id order number at the end of URL

 

something like:

 

'new_column' => array('title' => $this->l('New_column'), 'width' => 25, 'align' => 'center','prefix' => '<a href="http://something.com/test.php?$order_id ">', 'suffix' => '</a>' ),

 

How to print the order_id ?

 

Thank a lot.

Link to comment
Share on other sites

  • 9 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...