How to implement Sylius OrderBundle in an existing Symfony2 application

Viewed 1106

I need to implement syliusOrderBundle in my symfony2 apps, i have read the docs over and over again from their official site http://docs.sylius.org/en/latest/bundles/SyliusOrderBundle/installation.html i have ended up installing and enabled the following bundles

      new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(),
        new Sylius\Bundle\MoneyBundle\SyliusMoneyBundle(),
        new Sylius\Bundle\OrderBundle\SyliusOrderBundle(),
        new Sylius\Bundle\CartBundle\SyliusCartBundle(),
        new Sylius\Bundle\ProductBundle\SyliusProductBundle(),
        new Sylius\Bundle\ArchetypeBundle\SyliusArchetypeBundle(),
        new Sylius\Bundle\AttributeBundle\SyliusAttributeBundle(),
        new Sylius\Bundle\AssociationBundle\SyliusAssociationBundle(),
        new Sylius\Bundle\VariationBundle\SyliusVariationBundle(),

the problem is am not comfortable installing unnecessary bundles due to security reasons and the sylius doc is not helping. all i need is to be able to add product to orders pls if you have used it before can you help. THANKS

1 Answers
Related