Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Print packing slips for orders before they are sent out.

Resources

Packages

No packages published