How to get current store information in Magento 2?

You can get Current store related data like store id, store name, group id, website id and available currency code using Magento 2 by just simple code snippets.

Call from Template file for getting the data of store,

Output for Current Store looks like below array,

Want to Know about Next blog, Get All Root Categories Ids in Magento 2.

One Reply to “How to get current store information in Magento 2?”

Leave a Reply

Your email address will not be published. Required fields are marked *