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