Welcome to our official website!
Recently added item(s) ×
You have no items in your shopping cart.
Do you want to get base url in magento 2 ? just use this code.
$currentStore = $storeManager->getStore();
$baseUrl = $currentStore->getBaseUrl();
You must be logged in to post a comment.
click here to log in
Get the latest posts delivered to your inbox for free:
Magento Blog extension by aheadWorks