Skip to content

Magento 2 Module with simple blocks, for example for the store information

Notifications You must be signed in to change notification settings

DanieliMi/Mestrona_CommonBlocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento2 Module Mestrona_CommonBlocks

Magento 2 Module with simple basic blocks

  • Store Information Templates
  • store_information.phtml - Address and Store Hours, for example for the footer
  • store_information/contact.phtml - Phone and Email Links

Planed:

  • System Version (and maybe Git branch)

Basically, lots of more small, simple blocks should be added. If you miss something, file an issue or - even better - a pull request.

Installation

Install the module as usual using the composer client with the module name mestrona/magento-module-commonblocks.

Use

Add those blocks to your layout. Example:

    <referenceContainer name="header.panel">
        <block class="Mestrona\CommonBlocks\Block\StoreInformation" name="header_info" after="skip_to_content"
               template="Mestrona_CommonBlocks::store_information/contact.phtml" />
    </referenceContainer>
    <referenceContainer name="footer">
        <block class="Mestrona\CommonBlocks\Block\StoreInformation" name="footer_info" before="footer_links"
               template="Mestrona_CommonBlocks::store_information.phtml" />
    </referenceContainer>

About Us

Mestrona GbR offers Magento open source modules. If you are confronted with any bugs, you may want to open an issue here.

In need of support or an implementation of a modul in an existing system, free to contact us. In this case, we will provide full service support for a fee.

Of course we provide development of closed-source moduls as well.

About

Magento 2 Module with simple blocks, for example for the store information

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 75.4%
  • HTML 24.6%