PHPackages                             setono/sylius-catalog-promotion-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-catalog-promotion-plugin

ActiveSylius-plugin

setono/sylius-catalog-promotion-plugin
======================================

Catalog promotion plugin for Sylius

v0.5.2(2y ago)2069.2k↓46.7%8[2 issues](https://github.com/Setono/SyliusCatalogPromotionPlugin/issues)MITPHPPHP &gt;=7.4CI failing

Since Jul 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Setono/SyliusCatalogPromotionPlugin)[ Packagist](https://packagist.org/packages/setono/sylius-catalog-promotion-plugin)[ RSS](/packages/setono-sylius-catalog-promotion-plugin/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (30)Versions (27)Used By (0)

Sylius Catalog Promotion Plugin
===============================

[](#sylius-catalog-promotion-plugin)

[![Latest Version](https://camo.githubusercontent.com/734b5e844eb21d7d5b0eb64d22aa21ff2ee7904e4b56c61329c5f16d2be53647/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d636174616c6f672d70726f6d6f74696f6e2d706c7567696e2f762f737461626c65)](https://packagist.org/packages/setono/sylius-catalog-promotion-plugin)[![Latest Unstable Version](https://camo.githubusercontent.com/557513511379e57228b34b51c248b857b5b4aa396a69a7a6d0afffb30b049783/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d636174616c6f672d70726f6d6f74696f6e2d706c7567696e2f762f756e737461626c65)](https://packagist.org/packages/setono/sylius-catalog-promotion-plugin)[![Software License](https://camo.githubusercontent.com/bf135e17b0ce295a0b739eff4a37e252887d767bf8ad6cea76dab13801e497d0/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d636174616c6f672d70726f6d6f74696f6e2d706c7567696e2f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/SyliusCatalogPromotionPlugin/workflows/build/badge.svg)](https://github.com/Setono/SyliusCatalogPromotionPlugin/actions)

Plugin for Sylius to define permanent or time-limited promotions for products and automatically update prices.

[![Screenshot showing catalog promotions admin page](docs/admin-create.png)](docs/admin-create.png)

Install
-------

[](#install)

### Add plugin to composer.json

[](#add-plugin-to-composerjson)

```
composer require setono/sylius-catalog-promotion-plugin
```

**NOTICE** that this plugin uses the `twig/string-extra` and `twig/extra-bundle` internally to do string manipulation in Twig. It should work out of the box with the Symfony Flex recipe, but if you're not using Symfony Flex, you should install the bundle manually.

### Register plugin

[](#register-plugin)

```
