PHPackages                             setono/sylius-cost-price-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. [Database &amp; ORM](/categories/database)
4. /
5. setono/sylius-cost-price-plugin

ActiveSylius-plugin[Database &amp; ORM](/categories/database)

setono/sylius-cost-price-plugin
===============================

Add a cost price property to your product variants using this plugin

v1.2.0(3y ago)424.6k2[8 PRs](https://github.com/Setono/SyliusCostPricePlugin/pulls)1MITPHPPHP &gt;=7.4

Since Jan 29Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (25)Versions (15)Used By (1)

Sylius Cost Price Plugin
========================

[](#sylius-cost-price-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ff4a3a0f6cba6eb5c52a90fe11afcf6fffbbe5d25abe53a83a5ed885f6d32d21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7365746f6e6f2f73796c6975732d636f73742d70726963652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/setono/sylius-cost-price-plugin)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/0972d554c1e45b08ba1b8a6235ad549e022b4702863135f61c335859175425f1/68747470733a2f2f7472617669732d63692e636f6d2f5365746f6e6f2f53796c697573436f73745072696365506c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Setono/SyliusCostPricePlugin)[![Quality Score](https://camo.githubusercontent.com/03003f0e5e8da94ea59a82012a3ed1e5a69ca7123fe0e6386aff60d6111cbb2f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f5365746f6e6f2f53796c697573436f73745072696365506c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Setono/SyliusCostPricePlugin)

Add a cost price property to your products.

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

[](#installation)

### Step 1: Download the plugin

[](#step-1-download-the-plugin)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require setono/sylius-cost-price-plugin
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Step 2: Enable the plugin

[](#step-2-enable-the-plugin)

Then, enable the plugin by adding it to the list of registered plugins/bundles in the `config/bundles.php` file of your project:

```
