PHPackages                             siteation/magento2-module-storeinfo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. siteation/magento2-module-storeinfo

Abandoned → [siteation/magento2-storeinfo](/?search=siteation%2Fmagento2-storeinfo)ArchivedMagento2-module[Mail &amp; Notifications](/categories/mail)

siteation/magento2-module-storeinfo
===================================

Get your store information with ease

1.2.1(3y ago)1327.4k2MITHTML

Since Mar 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Siteation/magento2-module-storeinfo)[ Packagist](https://packagist.org/packages/siteation/magento2-module-storeinfo)[ RSS](/packages/siteation-magento2-module-storeinfo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

Siteation - Magento 2 module Store Info
=======================================

[](#siteation---magento-2-module-store-info)

> **Warning** This package has moved to

This Magento 2 module adds the option to get the store information with ease.

So you can get the store phone number from the Stores &gt; Config. Instead using static block or hard code it in your template directly.

Installation
------------

[](#installation)

Install the package via;

```
composer require siteation/magento2-storeinfo
bin/magento module:enable Siteation_StoreInfo
```

> **Note** This Module requires Magento 2.3 or higher! For more requirements see the `composer.json`.

How to use
----------

[](#how-to-use)

By defaut this module loads nothing.

Use one of the samples to get started.

### Adding a address block

[](#adding-a-address-block)

We have made an address block that uses the store information. And also comes with [schema tags](https://schema.org/) to enrich the Contact data.

To load the default store address block use 1 of the following xml samples in your template.

Hyva - XML Sample```

```

Luma - XML Sample```

            Siteation\StoreInfo\ViewModel\StoreInfo

```

### Get Store info in your own block.

[](#get-store-info-in-your-own-block)

First get the viewModal in your template.

Hyva - Sample Phtml file head```
