Jump to content

OVERRIDE ADMIN TABS


Nuvish

Recommended Posts

Hello,

id like to modify admin/tabs/adminProducts.php to add a new feature 'favorite' to my products. For this i have to modify adminProducts.php to add :

'favorite' => array('title' => $this->l('Favorite'),'active' => 'favorite', 'width' => 30, 'align' => 'center','type' => 'bool','orderby' => false),

to : $this->fieldsDisplay = array() (line 49)

This will make a new field 'favorite' appear in the administrator => catalog view.

But this is not good as,it can be overriden.
Iv tried using a module for that..where iv copied admin/tabs/adminProducts.php to modules/favorite/adminProducts.php
but it still does not work.

Can anyone help me out?

Link to comment
Share on other sites

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...