Skip to main content
1 of 2
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.

David Manners
  • 27.3k
  • 9
  • 76
  • 220