Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siteation/magento2-storeinfo-extra

Add more store information to your shop, like socials and other contact options.
https://github.com/siteation/magento2-storeinfo-extra

facebook hyva hyva-compatibility-module instagram linkedin magento2 magento2-module mastodon social-icons twitter vimeo youtube

Last synced: 2 months ago
JSON representation

Add more store information to your shop, like socials and other contact options.

Awesome Lists containing this project

README

        

# Siteation - Magento 2 Store Info Extra

[![Packagist Version](https://img.shields.io/packagist/v/siteation/magento2-storeinfo-extra?style=for-the-badge)](https://packagist.org/packages/siteation/magento2-storeinfo-extra)
![Supported Magento Versions](https://img.shields.io/badge/magento-%202.3_|_2.4-brightgreen.svg?logo=magento&longCache=true&style=for-the-badge)
[![Hyvä Themes Supported](https://img.shields.io/badge/Hyva_Themes-Supported-3df0af.svg?longCache=true&style=for-the-badge)](https://hyva.io/)
![License](https://img.shields.io/github/license/Siteation/magento2-storeinfo-extra?color=%23234&style=for-the-badge)

> [!WARNING]
> This package has been Abbonded and merged with the v3 of the [StoreInfo](https://github.com/Siteation/magento2-storeinfo)

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;

```bash
composer require siteation/magento2-storeinfo-extra
bin/magento module:enable Siteation_StoreInfoExtra
bin/magento setup:upgrade
```

> [!NOTE]
> 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

```xml

```

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

Luma - XML Sample

```xml



Siteation\StoreInfoExtra\ViewModel\StoreInfoExtra

```

> 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](assets/preview.png)