monsieurbiz/sylius-alert-message-plugin

在您的商店顶部添加一条简单消息。

安装数量: 14 177

依赖项: 0

建议者: 0

安全: 0

星标: 11

关注者: 8

分支: 6

公开问题: 3

类型:sylius-plugin

v1.2.1 2024-09-24 13:14 UTC

This package is auto-updated.

Last update: 2024-09-24 13:15:15 UTC


README

Banner of Sylius Alert Message plugin

Sylius Alert Message

Alert Message Plugin license Tests Status Recipe Status Security Status

此插件允许您在商店中添加简单消息。
登录客户的消息可以不同。

消息将在body标签打开后立即显示。您可以直接在管理面板中更改HTML模板。
默认情况下,它将使用Semantic UI类。

兼容性

安装

注意!

此安装说明假定您正在使用Symfony Flex。

如果您想使用我们的食谱,可以通过运行以下命令配置您的composer.json:

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. 使用composer安装插件

    composer require monsieurbiz/sylius-alert-message-plugin
  2. 运行Doctrine迁移

    ./bin/console doctrine:migration:migrate
    

工作原理

您只需进入管理面板中的“警告消息”部分并添加新消息即可!

示例

您可以使用此插件来

  • 告诉客户您如何处理疫情爆发。
  • 发布法律公告。
  • 给所有登录客户一个非常有吸引力的优惠券代码。

能够在商店中添加引人注目的消息可能很有用。

管理表单

测试

请参阅TESTING.md

贡献

如果您想,可以打开一个问题或Pull Request!😘
谢谢!