I have made a custom module and according to my need, and i want to make it customized. I want to make it store based,just like we have in product section. Any idea how this can be achieved?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
You need to create an EAV entity. Here is a nice article by Inchoo that explain what you need to do http://inchoo.net/ecommerce/magento/creating-an-eav-based-models-in-magento/.
The only think they are missing there is the
_decimal table for storing attribute values.
You can also find valuable pointers in here: http://makandracards.com/magento/25199-creating-an-eav-entity.
And I recommend you to give this Ultimate Module Creator. It allows you to build multi entity modules and for each entity you can specify if it's a flat entity or an EAV one.
It will also create the code for "Manage attributes" section for your EAV entities.
If you don't want to rebuild your module from scratch, it also has a built in help section explaining what files you need to create for EAV entities.
If you don't like any of these approaches you can try to replicate the Product entity from Magento.