PHPackages                             bitbag/product-bundle-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bitbag/product-bundle-plugin

ActiveSylius-plugin[Utility &amp; Helpers](/categories/utility)

bitbag/product-bundle-plugin
============================

Product bundle for Sylius.

v3.0.1(11mo ago)2174.4k↓23.7%40[4 PRs](https://github.com/BitBagCommerce/SyliusProductBundlePlugin/pulls)MITPHPPHP ~8.2.0 || ~8.3.0CI passing

Since May 29Pushed 11mo ago7 watchersCompare

[ Source](https://github.com/BitBagCommerce/SyliusProductBundlePlugin)[ Packagist](https://packagist.org/packages/bitbag/product-bundle-plugin)[ RSS](/packages/bitbag-product-bundle-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (35)Versions (31)Used By (0)

[![](https://camo.githubusercontent.com/f159d368d0a58c5934f7e348f059703ebbee61a813ebcad450ae02bb7c30dd0b/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032312f30342f50726f6475637442756e646c652e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_productbundle)
===============================================================================================================================================================================================================================================================================================================================================

[](#)

BitBag SyliusProductBundlePlugin
================================

[](#bitbag-syliusproductbundleplugin)

---

[ ![](https://camo.githubusercontent.com/3fafaa7877ae77c87c607a936dabcce36aabd27d1ef703eb8beed5d531e3b55b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6269746261672f70726f647563742d62756e646c652d706c7567696e2e737667) ](https://packagist.org/packages/bitbag/product-bundle-plugin "License")[ ![](https://camo.githubusercontent.com/b2d09b5608da2499e20c08b1b61c5d33596dbd2527cdc59b1d12cc28c20554f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6269746261672f70726f647563742d62756e646c652d706c7567696e2e737667) ](https://packagist.org/packages/bitbag/product-bundle-plugin "Version")[ ![](https://camo.githubusercontent.com/b96ccee0eb66010b0118e3949e03b5ce992fec8bb12d6ccaa1f35c4802716112/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f426974426167436f6d6d657263652f53796c69757350726f6475637442756e646c65506c7567696e2f6275696c642e796d6c3f6272616e63683d6d6173746572) ](https://github.com/BitBagCommerce/SyliusProductBundlePlugin/actions "Build status")[ ![](https://camo.githubusercontent.com/0fb3216416fa51a871078cb3799eb8ca7507a054763a120f6ec470d48dfb53d2/68747470733a2f2f706f7365722e707567782e6f72672f6269746261672f70726f647563742d62756e646c652d706c7567696e2f646f776e6c6f616473)](https://packagist.org/packages/bitbag/product-bundle-plugin "Total Downloads")[ ![Slack](https://camo.githubusercontent.com/7c3c0528951f31d3e19ae8c1b92e612431e7864cdd59e9861aef25807340f91e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6d6d756e697479253230636861742d736c61636b2d4646313439332e737667)](http://sylius.com/slack)[ ![Support](https://camo.githubusercontent.com/e2e1becf96ac10cfcfae03397fd7c605cca341564088ccd453d91e1d2024a14b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737570706f72742d636f6e74616374253230617574686f722d626c7565253544)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_productbundle)

We want to impact many unique eCommerce projects and build our brand recognition worldwide, so we are heavily involved in creating open-source solutions, especially for Sylius. We have already created over **35 extensions, which have been downloaded almost 2 million times.**

You can find more information about our eCommerce services and technologies on our website: . We have also created a unique service dedicated to creating plugins: .

Do you like our work? Would you like to join us? Check out the **“Career” tab:** .

About Us
========

[](#about-us)

---

BitBag is a software house that implements tailor-made eCommerce platforms with the entire infrastructure—from creating eCommerce platforms to implementing PIM and CMS systems to developing custom eCommerce applications, specialist B2B solutions, and migrations from other platforms.

We actively participate in Sylius's development. We have already completed **over 150 projects**, cooperating with clients worldwide, including smaller enterprises and large international companies. We have completed projects for such important brands as **Mytheresa, Foodspring, Planeta Huerto (Carrefour Group), Albeco, Mollie, and ArtNight.**

We have a 70-person team of experts: business analysts and consultants, eCommerce developers, project managers, and QA testers.

**Our services:**

- B2B and B2C eCommerce platform implementations
- Multi-vendor marketplace platform implementations
- eCommerce migrations
- Sylius plugin development
- Sylius consulting
- Project maintenance and long-term support
- PIM and CMS implementations

**Some numbers from BitBag regarding Sylius:**

- 70 experts on board
- +150 projects delivered on top of Sylius
- 30 countries of BitBag’s customers
- 7 years in the Sylius ecosystem
- +35 plugins created for Sylius

---

[![](https://camo.githubusercontent.com/0d371de36864be2be5a542b6758f7a32df462aa5ab4a479b7eb56361b03c3130/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032342f30392f6261646765732d73796c6975732e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_productbandle)

---

Table of Content
----------------

[](#table-of-content)

---

- [Overview](#overview)
- [Installation](#installation)
- [Testing](#testing)
- [Functionalities](#functionalities)
- [Demo](#demo)
- [License](#license)
- [Contact](#contact)
- [Community](#community)

Overview
========

[](#overview)

---

The **SyliusProductBundle** plugin allows you to create bundles from existing products in your store. Bundles appear and behave like any other product in your store. This will allow the customer to add multiple products to the cart simultaneously. What's more, products that are sold as bundles encourage customers to meet minimum shipping spending limits - increasing the average order value compared to free shipping.

Installation
============

[](#installation)

---

1. Require plugin with composer:

    ```
    composer require bitbag/product-bundle-plugin --no-scripts --with-all-dependencies
    ```
2. Add plugin dependencies to your `config/bundles.php` file after `Sylius\Bundle\ApiBundle\SyliusApiBundle`.

    ```
        return [
         ...

            BitBag\SyliusProductBundlePlugin\BitBagSyliusProductBundlePlugin::class => ['all' => true ],
        ];
    ```
3. Import required config in your `config/packages/_sylius.yaml` file:

    ```
    # config/packages/_sylius.yaml

    imports:
        ...

        - { resource: "@BitBagSyliusProductBundlePlugin/config/config.yml" }
    ```
4. Import routing in your `config/routes.yaml` file:

    ```
    # config/routes.yaml
    ...

    bitbag_sylius_product_bundle_plugin:
        resource: "@BitBagSyliusProductBundlePlugin/config/routes.yml"
    ```
5. Extend `Product`(including Doctrine mapping):

    ```
