Skip to content

vespolina/VespolinaCommerceBundle

Repository files navigation

VespolinaCommerceBundle

Build Status Total Downloads Latest Stable Version

Vespolina Ecommerce integration with Symfony2

The admin page has javascript dependencies that can be handled by bower using the SpBowerBundle. If you don't have bower installed, you can install it using npm

$ npm install -g bower

1) Install VespolinaCommerceBundle

Install using composer.phar or composer binary:

$ php composer.phar require vespolina/commerce-bundle dev-master

2) Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new FOS\RestBundle\FOSRestBundle(),
        new Sp\BowerBundle\SpBowerBundle(),
        new Vespolina\CommerceBundle\VespolinaCommerceBundle(),
    );
}

3) Required configuration:

# app/config/config.yml
sp_bower:
    bundles:
        VespolinaCommerceBundle: ~

vespolina_commerce:
    db_driver: mongodb # mongodb or orm

4) Routing options

# app/config/routing.yml
vespolina_admin:
    resource: "@VespolinaCommerceBundle/Resources/config/routing/admin.yml"
    prefix:   /admin/

vespolina_commerce_checkout:
    resource: "@VespolinaCommerceBundle/Resources/config/routing/checkout.xml"
    prefix:   /

vespolina_commerce_cart:
    resource: "@VespolinaCommerceBundle/Resources/config/routing/cart.xml"
    prefix:   /

vespolina_commerce_product:
    resource: "@VespolinaCommerceBundle/Resources/config/routing/product.xml"
    prefix:   /

vespolina_taxonomy:
    resource: "@VespolinaCommerceBundle/Resources/config/routing/taxonomy.xml"
    prefix:   /

About

Vespolina Ecommerce integration with Symfony2

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors