
Product
Socket Zero Introduces Automated Remediation PRs
Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.
siteation/magento2-storeinfo
Advanced tools
The Magento2 StoreInfo module streamlines the process of integrating essential store information into your Magento 2 website. Traditionally, this information would be added via CMS Static Blocks or hardcoded into templates.
However, the StoreInfo module offers a more efficient method by directly accessing and retrieving values from the store information.
With the StoreInfo module, developers can easily enhance their Magento 2 storefronts with comprehensive and customizable store information.
Install the package via;
composer require siteation/magento2-storeinfo
bin/magento module:enable Siteation_StoreInfo
The StoreInfo works out of the box by providing store information and store email addresses and displaying them on your storefront.
| Admin | Storefront |
|---|---|
![]() | ![]() |
Besides this the Siteation Storeinfo also adds even more usefull fields under Stores > Configration > Siteation > StoreInfo.
| Admin | Storefront |
|---|---|
![]() | ![]() |
| Admin | Storefront |
|---|---|
![]() | ![]() |
| Admin | Storefront |
|---|---|
![]() | ![]() |
| CMS | Picker |
|---|---|
![]() | ![]() |
First get the viewModel in your template, using the following sample;
<?php declare(strict_types=1);
use Hyva\Theme\Model\ViewModelRegistry;
use Magento\Framework\View\Element\Template;
use Magento\Framework\Escaper;
use Siteation\StoreInfo\ViewModel\StoreInfo;
/** @var ViewModelRegistry $viewModels */
/** @var Template $block */
/** @var Escaper $escaper */
/** @var StoreInfo $storeInfo */
$storeInfo = $viewModels->require(StoreInfo::class);
For Luma templates,
<?php declare(strict_types=1);
use Magento\Framework\View\Element\Template;
use Magento\Framework\Escaper;
use Siteation\StoreInfo\ViewModel\StoreInfo;
/** @var Template $block */
/** @var Escaper $escaper */
/** @var StoreInfo $storeInfo */
$storeInfo = $block->getData('viewModelStoreInfo');
After this you can load any Magento StoreInfo field as text in your phtml;
<?php
// Get specific predefined store info field
$storeInfo->getPostcode();
$storeInfo->getSalesEmail();
// Get the same as above, using the global functions
$storeInfo->getStoreInfo('postcode'); // 'general/store_information/%s'
$storeInfo->getStoreEmail('email', 'ident_sales'); // 'trans_email/%2$s/%1$s'
Interested in what this module does?
We have a whole suite of modules that add even more features to your store, allowing you to manage specific aspects of your store using StoreInfo.
FAQs
Get your store information with ease
We found that siteation/magento2-storeinfo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.

Product
Socket Zero automates vulnerability remediation with upgrades and targeted patches, including fixes for 100% of known, patchable RubyGems CVEs.

Product
Explore Socket’s redesigned Alerts UI, multi-branch repository monitoring, and new tools for resolving findings, searching scans, and filtering security alerts.