monsieurbiz/sylius-alert-message-plugin

Adds a simple message on top of your shop.


README

Monsieur Biz logo      Sylius logo

Alert Message

Alert Message Plugin license Tests Scrutinizer Code Quality

This plugins allows you to add simple messages on your shop.
The messages can be different for logged-in customers.

The message is displayed just after the opening body. You can change the HTML template directly in the admin panel.
By default it'll use the Semantic UI classes.

Installation

Beware!

This installation instruction assumes that you're using Symfony Flex.

  1. Require the plugin using composer

    composer require monsieurbiz/sylius-alert-message-plugin
  2. Generate & Run Doctrine migrations

    ./bin/console doctrine:migration:diff
    ./bin/console doctrine:migration:migrate
    

How it works

You just have to go in the Alert Messages section in your admin panel and add new message(s)!

Examples

You could use this plugin to:

  • Tell your customer how you are dealing with an epidemic outbreak.
  • Make a legal announcement.
  • Give all your logged-in customers a very attractive coupon code.

Being able to add a well seen message on your shop can be useful.

Testing

See TESTING.md.

Contributing

You can open an issue or a Pull Request if you want! 😘
Thank you!