PHPackages                             3brs/sylius-zasilkovna-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. 3brs/sylius-zasilkovna-plugin

Abandoned → [3brs/sylius-packeta-plugin](/?search=3brs%2Fsylius-packeta-plugin)Sylius-plugin

3brs/sylius-zasilkovna-plugin
=============================

Zasilkovna plugin for Sylius

v3.3.0(11mo ago)27357[1 issues](https://github.com/3BRS/sylius-zasilkovna-plugin/issues)MITPHPPHP ^8.1

Since Oct 5Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/3BRS/sylius-zasilkovna-plugin)[ Packagist](https://packagist.org/packages/3brs/sylius-zasilkovna-plugin)[ RSS](/packages/3brs-sylius-zasilkovna-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (34)Versions (9)Used By (0)

 [ ![](https://camo.githubusercontent.com/bb0c16caf210bea68e0e59fc11e0844dc47097f9aeb8b388c3de5f1414d4d1c0/68747470733a2f2f33627273312e667261312e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f336272732f6c6f676f2f334252532d6c6f676f2d73796c6975732d3230302e706e67) ](https://www.3brs.com)

 Zásilkovna Plugin
 [ ![](https://camo.githubusercontent.com/adadc9824bf7edd5b12518d09c7379ced7aacaf2292ec01d65df9e2bda64bf6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f336272732f73796c6975732d7a6173696c6b6f766e612d706c7567696e2e737667) ](https://packagist.org/packages/3brs/sylius-zasilkovna-plugin "License") [ ![](https://camo.githubusercontent.com/fff58714854ab824245e7ec6ae8b291e366a24878397a5283f036a713dd31ef9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f336272732f73796c6975732d7a6173696c6b6f766e612d706c7567696e2e737667) ](https://packagist.org/packages/3brs/sylius-zasilkovna-plugin "Version") [ ![](https://camo.githubusercontent.com/2eb9cce0e4fb4f815fdb580d8f3be984b5f91f796d70152a78835dc169ab0701/68747470733a2f2f636972636c6563692e636f6d2f67682f334252532f73796c6975732d7a6173696c6b6f766e612d706c7567696e2e7376673f7374796c653d736869656c64) ](https://circleci.com/gh/3BRS/sylius-zasilkovna-plugin "Build status")
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#----zásilkovna-plugin----------------------------------------------------)

 [![Zásilkovna / Zásielkovňa / Csomagküldő / Przesyłkownia / Coletăria](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/logo.png)](https://www.zasilkovna.cz)

Features
--------

[](#features)

- Enables sending shipments via \[[cz](https://www.zasilkovna.cz)\] \[[pl](https://www.przesylkownia.pl)\] \[[sk](https://www.zasielkovna.sk)\] \[[hu](https://www.csomagkuldo.hu)\] \[[ro](https://www.coletaria.ro)\] to Zasilkovna branch or to the customer's address via Zasilkovna service.
- The user can choose the Zásilkovna branch from the map during checkout in the Shipment step.
- See Zásilkovna branch in final checkout step and also in the admin panel.
- Export CSV with the Zásilkovna shipments (both to Zasilkovna branch or customer's address) and import it easily into Zásilkovna's system.

 [![](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/admin_order_detail.png)](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/admin_order_detail.png)

 [![](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/admin_shipping_method_edit.png)](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/admin_shipping_method_edit.png)

 [![](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/shop_shipment_step.png)](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/shop_shipment_step.png)

 [![](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/shop_checkout_complete.png)](https://raw.githubusercontent.com/3BRS/sylius-zasilkovna-plugin/master/doc/shop_checkout_complete.png)

Installation
------------

[](#installation)

1. Run `$ composer require 3brs/sylius-zasilkovna-plugin`.
2. Add plugin classes to your `config/bundles.php`:

    ```
    return [
       ...
       ThreeBRS\ShipmentExportPlugin\ThreeBRSSyliusShipmentExportPlugin::class => ['all' => true],
       ThreeBRS\SyliusZasilkovnaPlugin\ThreeBRSSyliusZasilkovnaPlugin::class => ['all' => true],
    ];
    ```
3. Add resource to `config/packeges/_sylius.yaml`

    ```
    imports:
         ...
         ...
         - { resource: "@ThreeBRSSyliusZasilkovnaPlugin/Resources/config/resources.yml" }
    ```
4. Add routing to `config/_routes.yaml`

    ```
    threebrs_sylius_shipment_export_plugin:
        resource: '@ThreeBRSSyliusShipmentExportPlugin/Resources/config/routing.yml'
        prefix: /admin
    ```
5. Your Entity `Shipment` has to implement `\ThreeBRS\SyliusZasilkovnaPlugin\Model\ZasilkovnaShipmentInterface`. You can use the trait `\ThreeBRS\SyliusZasilkovnaPlugin\Model\ZasilkovnaShipmentTrait`.

    ```
