Skip to content
Add private or public notes to the plugin.
PHP HTML JavaScript Gherkin Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
doc
etc/build
features/managing_order_message
src
tests
.gitignore
.travis.yml
README.md
behat.yml.dist
composer.json
easy-coding-standard.yml
node_modules
phpspec.yml.dist
phpstan.neon
phpunit.xml.dist

README.md

Order Comments Plugin

Features

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

Installation

  1. Run $ composer require mangoweb-sylius/sylius-order-comments-plugin.
  2. Register \MangoSylius\OrderCommentsPlugin\MangoSyliusOrderCommentsPlugin in your Kernel.
  3. Import @MangoSyliusOrderCommentsPlugin/Resources/config/routing.yml in the routing.yml.
  4. Import @MangoSyliusOrderCommentsPlugin/Resources/config/mailer.yml and @MangoSyliusOrderCommentsPlugin/Resources/config/resources.yml in _sylius.yml.

Usage

  • Log into admin panel
  • Click on Orders in the Sales section in main menu
  • Select the order you want to check
  • Write your note or email content into the OrderMessage panel
  • Check the Send to customer option if you want to send an email to the customer
  • Click Send button below

Development

Usage

  • Create symlink from .env.dist to .env or create your own .env file
  • Develop your plugin in /src
  • See bin/ for useful commands

Testing

After your changes you must ensure that the tests are still passing.

$ composer install
$ bin/console doctrine:schema:create -e test
$ bin/behat.sh
$ bin/phpstan.sh
$ bin/ecs.sh

License

This library is under the MIT license.

Credits

Developed by manGoweb.

You can’t perform that action at this time.