PHPackages                             eo/ecommerce-bundle - 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. [Framework](/categories/framework)
4. /
5. eo/ecommerce-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

eo/ecommerce-bundle
===================

A lightweight yet flexible ecommerce bundle based on Sylius and Spree

62001PHP

Since Sep 20Pushed 12y ago1 watchersCompare

[ Source](https://github.com/eymengunay/EoEcommerceBundle)[ Packagist](https://packagist.org/packages/eo/ecommerce-bundle)[ RSS](/packages/eo-ecommerce-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

EoEcommerceBundle
=================

[](#eoecommercebundle)

A lightweight yet flexible ecommerce bundle (based on Sylius and Spree) that works on MongoDB.

Prerequisites
-------------

[](#prerequisites)

This version of the bundle requires Symfony 2.1+

Concepts
--------

[](#concepts)

### Product options

[](#product-options)

Often you need to have different options for the same product. For example think of a simple store that sells iPhones and iPads:

```
Products:
    1) iPhone (starting from: $649)
        Options:
            1) iPhone 16GB ($649)
            2) iPhone 32GB ($749)
            3) iPhone 64GB ($849)
    2) iPad (starting from: $499)
        Options:
            1) iPad 16GB ($499)
            1) iPad 32GB ($599)
            1) iPad 64GB ($699)
            1) iPad 128GB ($799)

```

To add options you must first implement `CustomProductInterface` on your product class. This interface will give you access to 3 new fields (*options, variants and prices*). Once implemented you need to set an options map for your product:

```
