Download the PHP package siteation/magento2-module-storeinfo without Composer
On this page you can find all versions of the php package siteation/magento2-module-storeinfo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download siteation/magento2-module-storeinfo
More information about siteation/magento2-module-storeinfo
Files in siteation/magento2-module-storeinfo
Package magento2-module-storeinfo
Short Description Get your store information with ease
License MIT
Informations about the package magento2-module-storeinfo
Siteation - Magento 2 module Store Info
Warning This package has moved to https://github.com/Siteation/magento2-storeinfo
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 > Config. Instead using static block or hard code it in your template directly.
Installation
Install the package via;
Note This Module requires Magento 2.3 or higher! For more requirements see the
composer.json
.
How to use
By defaut this module loads nothing.
Use one of the samples to get started.
Adding a address block
We have made an address block that uses the store information. And also comes with schema tags 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
Get Store info in your own block.
First get the viewModal in your template.
Hyva - Sample Phtml file head
Luma - Sample Phtml file head
_For Luma templates,_ _see the previous sample for the xml needed to load the viewModal._After this you can load any Magento StoreInfo field as text in your phtml;
All versions of magento2-module-storeinfo with dependencies
magento/module-directory Version ^100.3|^100.4
magento/module-store Version ^101.0|^101.1