New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

siteation/magento2-module-storeinfo-extra

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

siteation/magento2-module-storeinfo-extra

Get your store information with ease

magento2-module
Source
Packagist
This package is abandoned and is no longer maintained.
The author recommends using siteation/magento2-storeinfo-extra instead.
This version has been yanked by its maintainers and should not be used.
Version
1.1.0
Version published
Total downloads
19K
Maintainers
1
Created
Source

Siteation - Magento 2 Module Store Info Extra

Packagist Version Supported Magento Versions Hyvä Themes Supported License

This Magento 2 module add the option to show social buttons or more extras with ease.

So you can get the whatsapp number from the Stores > Config. Instead using static block or hard code it in your template directly.

Installation

Install the package via;

composer require siteation/magento2-module-storeinfo-extra
bin/magento setup:upgrade

This Module require Magento 2.3 or higher! For more requirements see the composer.json.

How to use

By default this module loads nothing.

Use one of the samples to get started.

After this Enter your information in the available options found in Stores > Configuration > General > General > Store Extra information

Adding sample block

Hyva - XML Sample
<referenceContainer name="footer">
    <block
        name="footer.store.socials"
        as="footer-store-socials"
        template="Siteation_StoreInfoExtra::hyva/socials.phtml"
    />
</referenceContainer>

Other options are: coc-number.phtml, whatsapp-button.phtml

Luma - XML Sample
<referenceContainer name="footer">
    <block name="footer.store.socials"
        as="footer-store-socials"
        template="Siteation_StoreInfoExtra::luma/socials.phtml">
        <arguments>
            <argument name="viewModelStoreInfo" 
                xsi:type="object">Siteation\StoreInfoExtra\ViewModel\StoreInfoExtra</argument>
        </arguments>
    </block>
</referenceContainer>

Other options are: coc-number.phtml, whatsapp-button.phtml

Extending

Incase you want to add your own fields, you need create your own module, that has at least contains the etc/adminhtml/system.xml file.

In here you can create new fields, just as this module is doing.

Preview

Magento 2 footer with social icons

Keywords

twitter

FAQs

Package last updated on 03 Feb 2022

Related posts