Skip to content
Print packing slips for orders before they are sent out.
Branch: master
Clone or download
Johan Hornof
Johan Hornof small readme update
Latest commit 926fb5b Jan 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Shipping packing slips Jan 14, 2019
doc updated readme Jan 17, 2019
features Shipping packing slips Jan 14, 2019
src Controller public methods Jan 15, 2019
tests Shipping packing slips Jan 14, 2019
.editorconfig Shipping packing slips Jan 14, 2019
.gitignore Shipping packing slips Jan 14, 2019
.travis.yml Shipping packing slips Jan 14, 2019
README.md small readme update Jan 18, 2019
behat.yml.dist Shipping packing slips Jan 14, 2019
composer.json Shipping packing slips Jan 14, 2019
easy-coding-standard.yml Shipping packing slips Jan 14, 2019
logo.png Shipping packing slips Jan 14, 2019
node_modules Shipping packing slips Jan 14, 2019
phpstan.neon Shipping packing slips Jan 14, 2019
phpunit.xml.dist

README.md

Packing Slips Plugin

Features

  • Print packing slips or any kind of labels for orders which are not sent. The default template prints the grid with basic order information for printing small labels, however the template is easily customizable to print A4 slips too (see usabe below).

Installation

  1. Run $ composer require mangoweb-sylius/sylius-packing-slips-plugin.
  2. Register \MangoSylius\PackingSlipsPlugin\MangoSyliusPackingSlipsPlugin in your Kernel.
  3. Import @MangoSyliusPackingSlipsPlugin/Resources/config/routing.yml in the routing.yml.
mango_sylius_shipment_export_plugin:
    resource: "@MangoSyliusPackingSlipsPlugin/Resources/config/routing.yml"
    prefix: /admin

Usage

You can override package slips template.

  • @MangoSyliusPackingSlipsPlugin/show.html.twig
  • @MangoSyliusPackingSlipsPlugin/tdUnit.html.twig

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.

  • Easy Coding Standard
    bin/ecs.sh
  • PHPStan
    bin/phpstan.sh

License

This library is under the MIT license.

Credits

Developed by manGoweb.

You can’t perform that action at this time.