Let´s say I have a store named "Megastore". How can I get the id of that specific store?
Can I do it by using some kind of filter?
Mage::getModel('core/store')->addFieldToFilter('name', 'Megastore');
getmodelmultistorestore-id
Let´s say I have a store named "Megastore". How can I get the id of that specific store?
Can I do it by using some kind of filter?
Mage::getModel('core/store')->addFieldToFilter('name', 'Megastore');
Best Answer
What do you need the ID for? Are you writing code for a specific store? If so you can do
Default being the store name.