I am using magento 1.8 I have multi store magento application.

I am adding custom attribute to the product, code is product_creator_id, Its nothing but a store id, that define the product is belongs to that store. I mean the product is created in that store.

I need to hide the product tabs while editing the product which is not belongs to that store.

For example If product-A is created in store-A then product-A is belongs to store-A. If product-A is editing in store-A only then it has all the product Tabs visible.

If product-A is editing in store-B then only General tab visible rest of the tabs are hidden.

I have searched lot for this I got some event obsrever


etc. I dont want to use these events because they executing for both front and backend event. Is their any event that execute observer method only when admin event call. or else any other idea to make it work. Help me.

Thanks Lot.


I got Solution...

Override the following file


and near line number 162 or 192 before return parent::_prepareLayout();

just print the output

$tab_ids = $this->getTabsIds();

It will contain the all tabs id's, you can arrange $tab_ids ids as you needed. and pass it..

Thanks you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.