2017 © Pedro Peláez
 

symfony-bundle commerce-bundle

Vespolina Commerce bundle. Integrates vespolina libraries with Symfony2

image

vespolina/commerce-bundle

Vespolina Commerce bundle. Integrates vespolina libraries with Symfony2

  • Tuesday, October 28, 2014
  • by iampersistent
  • Repository
  • 5 Watchers
  • 9 Stars
  • 2,334 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 6 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

VespolinaCommerceBundle

Build Status Total Downloads Latest Stable Version, (*1)

Vespolina Ecommerce integration with Symfony2, (*2)

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 ``` bash $ npm install -g bower, (*3)


### 1) Install VespolinaCommerceBundle Install using composer.phar or composer binary: ``` bash $ php composer.phar require vespolina/commerce-bundle dev-master

2) Enable the bundle

Enable the bundle in the kernel:, (*4)

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


### 3) Required configuration: ```yml # 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:   /

The Versions