定制 monsieurbiz/sylius-alert-message-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

monsieurbiz/sylius-alert-message-plugin

最新稳定版本:v2.0.1

Composer 安装命令:

composer require monsieurbiz/sylius-alert-message-plugin

包简介

Adds a simple message on top of your shop.

README 文档

README

Banner of Sylius Alert Message plugin

Sylius Alert Message

Alert Message Plugin license Tests Status Recipe Status Security Status

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.

Compatibility

Sylius Version PHP Version
2.0, 2.1 8.2 - 8.3

ℹ️ For Sylius 1.x, see our 1.x branch and all 1.x releases.

Installation

Beware!

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

If you want to use our recipes, you can configure your composer.json by running:

composer config --no-plugins --json extra.symfony.endpoint '["https://api.github.com/repos/monsieurbiz/symfony-recipes/contents/index.json?ref=flex/master","flex://defaults"]'
  1. Require the plugin using composer

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

    ./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.

Admin form

Testing

See TESTING.md.

Contributing

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

统计信息

  • 总下载量: 21.05k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 5
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-18