PHPackages                             setono/sylius-shipping-countdown-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. setono/sylius-shipping-countdown-plugin

ActiveSymfony-bundle

setono/sylius-shipping-countdown-plugin
=======================================

Setono shipping countdown plugin for Sylius 1.6+

v0.1.2(1y ago)26.9k1[5 PRs](https://github.com/Setono/SyliusShippingCountdownPlugin/pulls)MITPHPPHP &gt;=7.4

Since May 6Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Setono/SyliusShippingCountdownPlugin)[ Packagist](https://packagist.org/packages/setono/sylius-shipping-countdown-plugin)[ RSS](/packages/setono-sylius-shipping-countdown-plugin/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (30)Versions (9)Used By (0)

SyliusShippingCountdownPlugin
=============================

[](#syliusshippingcountdownplugin)

[![Latest Version](https://camo.githubusercontent.com/ba78265725625e0a636bb6b1c72d7837be227041a47f93e2012812c3181d041e/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d7368697070696e672d636f756e74646f776e2d706c7567696e2f762f737461626c65)](https://packagist.org/packages/setono/sylius-shipping-countdown-plugin)[![Latest Unstable Version](https://camo.githubusercontent.com/698d2581aa67f5d6b4357a2eb143e908ced76e5deee063420ada0180ad43571d/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d7368697070696e672d636f756e74646f776e2d706c7567696e2f762f756e737461626c65)](https://packagist.org/packages/setono/sylius-shipping-countdown-plugin)[![Software License](https://camo.githubusercontent.com/906b19461d07bd1a62226a59b8c0756b04563b858bb5388f425319f287c93977/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d7368697070696e672d636f756e74646f776e2d706c7567696e2f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/SyliusShippingCountdownPlugin/workflows/build/badge.svg)](https://github.com/Setono/SyliusShippingCountdownPlugin/actions)[![Code Coverage](https://camo.githubusercontent.com/134ccea982298439c2c3891b8c8b53a41fe5d7f992212d9ae915ff283e5c890e/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f53796c6975735368697070696e67436f756e74646f776e506c7567696e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/SyliusShippingCountdownPlugin)

Screenshots
-----------

[](#screenshots)

[![Screenshot showing shipping schedule index at admin](docs/images/admin-shipping-schedule-index.png)](docs/images/admin-shipping-schedule-index.png)

[![Screenshot showing shipping countdown at shop header](docs/images/shop-index-header.png)](docs/images/shop-index-header.png)

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

[](#installation)

### Require plugin with composer:

[](#require-plugin-with-composer)

```
$ composer require setono/sylius-shipping-countdown-plugin
```

### Import configuration:

[](#import-configuration)

```
# config/packages/setono_sylius_shipping_countdown.yaml
imports:
    - { resource: "@SetonoSyliusShippingCountdownPlugin/Resources/config/app/config.yaml" }

    # Uncomment next line if you're using Webpack Encore
    # - { resource: "@SetonoSyliusShippingCountdownPlugin/Resources/config/app/config_webpack.yaml" }

    # You can also import example fixtures to play
    # - { resource: "@SetonoSyliusShippingCountdownPlugin/Resources/config/app/fixtures.yaml" }

# If you want to use caching - add next configuration:
framework:
    cache:
        pools:
            app.shipping_countdown_cache_pool:
                adapter: cache.app

setono_sylius_shipping_countdown:
    cache:
        pool: app.shipping_countdown_cache_pool
        enabled: true
```

### Import routing:

[](#import-routing)

```
# config/routes/setono_sylius_shipping_countdown.yaml
setono_sylius_shipping_countdown:
    resource: "@SetonoSyliusShippingCountdownPlugin/Resources/config/routes.yaml"
```

or if your app doesn't use locales:

```
# config/routes.yaml
setono_sylius_shipping_countdown:
    resource: "@SetonoSyliusShippingCountdownPlugin/Resources/config/routes_no_locale.yaml"
```

### Add plugin class to your `bundles.php`:

[](#add-plugin-class-to-your-bundlesphp)

Make sure you add it before `SyliusGridBundle`, otherwise you'll get `You have requested a non-existent parameter "setono_sylius_shipping_countdown.model.shipping_schedule.class".` exception.

```
