Tabs on Order Detail Page

I recently was asked to create an addon for someone, and I’m finding myself running into a deadend. I’m using the stock theme, and am trying to add a third tab to the Order Details Tab. Currently it has General, Shipment Info. I’ve determined what hook to use to add an entry to the Navigational.tabs, but when I try and create the div tag to display the information for the 3rd tab it shows it on each page.

My question is, how do I go about adding another tab worth of data to this page? I’m not seeing a hook that would insert the data where it needs to go.

Any help is greatly appreciated.


is your div tag using the same id as the array entry in navigation.tabs?

I’ve created the following code hook in a file

if ($mode == ‘details’) {

Registry::set(‘navigation.tabs.ofileupload’, array (

‘title’ => fn_get_lang_var(‘customer_product_Tab’),

‘js’ => true


Which displays the tab. I’ve tried creating a template hook in a file which contacts the following code:

Please upload the following files

What I get as a result of this code is, that data shows up regardless of whether I click on "General", "Shipment Info", or "File Upload", below the box for the specified tab... I have a feeling I'm overlooking something simple, but can't seem to figure it out. I've gone as far as just manipulating the core template, simply for testing purposes, but still can't seem to get it to work.

So to answer your question, its following the scheme used for the other blocks of information

Thanks for the help!