3brs/sylius-order-comments-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

3brs/sylius-order-comments-plugin

Composer 安装命令:

composer require 3brs/sylius-order-comments-plugin

包简介

Order comments plugin for Sylius

README 文档

README

Create notes and send emails from the Sylius admin order detail page.

Features

  • Create notes on order details
  • Send personalized email to the addressee of the order

Requirements

Package Version
PHP >=8.2
Sylius ^2.0

This branch (2.2) supports Sylius 2.0, 2.1, and 2.2 on PHP 8.2/8.3. For Sylius 1.12–1.14, use branch 1.14. For Sylius 1.10–1.11, use branch 1.11. For Sylius 1.7–1.9, use branch 1.9.

Installation

  1. Run composer require 3brs/sylius-order-comments-plugin.

  2. Add plugin class to your config/bundles.php:

    return [
        // ...
        ThreeBRS\OrderCommentsPlugin\ThreeBRSOrderCommentsPlugin::class => ['all' => true],
    ];
  3. Import plugin config in config/packages/_sylius.yaml:

    imports:
        # ...
        - { resource: "@ThreeBRSOrderCommentsPlugin/config/config.yml" }
  4. Add routing to config/routes/sylius_admin.yaml:

    threebrs_order_comments_plugin:
        resource: "@ThreeBRSOrderCommentsPlugin/config/routing.yml"
        prefix: /admin
  5. Create and run doctrine database migrations. If you are upgrading from the mangoweb-sylius/sylius-order-comments-plugin package, generate a migration that renames the table mangoweb_order_message to threebrs_order_message.

The order comments form and message list are automatically added to the admin order show page via Twig Hooks. No template overrides needed.

Usage

  • Comment can be written from the order detail page.
  • If "Send to customer" is checked, an email is sent to the customer's email address.

Development

make run        # Start Docker, install deps, build assets, set up DB
make tests      # Run PHPStan, PHPUnit, Behat
make fixtures   # Reset DB and load sample data
make bash       # Enter PHP container

License

This library is under the MIT license.

Credits

Developed by 3BRS
Forked from manGoweb.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固