Skip to main content
Tweeted twitter.com/#!/StackMagento/status/560399989705560066
Source Link
David Manners
  • 27.3k
  • 9
  • 76
  • 220

How to get the store id from the code

So I have the store code and I would really like simply the store id. Ideally I do not want to simply load the store completely as I only need the id.

One idea I had was to load this via a collection but I was wondering if there was another way via a helper or resource.