PHPackages                             setono/sylius-climate-partner-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-climate-partner-plugin

ActiveSylius-plugin

setono/sylius-climate-partner-plugin
====================================

Setono example plugin for Sylius.

114.1k↓30%[1 PRs](https://github.com/Setono/SyliusClimatePartnerPlugin/pulls)PHP

Since Jan 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Setono/SyliusClimatePartnerPlugin)[ Packagist](https://packagist.org/packages/setono/sylius-climate-partner-plugin)[ RSS](/packages/setono-sylius-climate-partner-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Sylius Climate Partner Plugin
=============================

[](#sylius-climate-partner-plugin)

[![Latest Version](https://camo.githubusercontent.com/67c2d37560046fc64590cff5ded4def3cc9182b48fb86f4af085dc300c5b326f/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d636c696d6174652d706172746e65722d706c7567696e2f762f737461626c65)](https://packagist.org/packages/setono/sylius-climate-partner-plugin)[![Latest Unstable Version](https://camo.githubusercontent.com/b7ad636cebecc29bb7097b43e059b8ab693e8c268c54fa096fe866bdd23ebe51/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d636c696d6174652d706172746e65722d706c7567696e2f762f756e737461626c65)](https://packagist.org/packages/setono/sylius-climate-partner-plugin)[![Software License](https://camo.githubusercontent.com/07d71b82c4063c06335070d282451adaefe0ca8d4d89bd078bb9e2e70c06525e/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d636c696d6174652d706172746e65722d706c7567696e2f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/SyliusClimatePartnerPlugin/workflows/build/badge.svg)](https://github.com/Setono/SyliusClimatePartnerPlugin/actions)[![Code Coverage](https://camo.githubusercontent.com/22e623e47a13ccbf28a67960c9439e46a8be9aca30880b2684d2fde99c6723a1/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f53796c697573436c696d617465506172746e6572506c7567696e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/SyliusClimatePartnerPlugin)

This plugin will allow customers to add climate offsets to their orders.

    frontend.mp4    Installation
------------

[](#installation)

```
composer require setono/sylius-climate-partner-plugin
```

### Import configuration

[](#import-configuration)

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

### Import routing

[](#import-routing)

```
# config/routes/setono_sylius_climate_partner.yaml
setono_sylius_climate_partner:
    resource: "@SetonoSyliusClimatePartnerPlugin/Resources/config/routes.yaml"
```

or if your app doesn't use locales:

```
# config/routes/setono_sylius_climate_partner.yaml
setono_sylius_climate_partner:
    resource: "@SetonoSyliusClimatePartnerPlugin/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_climate_partner.model.channel_climate_fee.class".` exception.

```
