ddOnlineStorePlugin - 1.0.0

The ddOnlineStorePlugin is a symfony plugin that provides models (categories and products objects), modules and others features to manage a real catalog for a online store.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

ddOnlineStore plugin

The ddOnlineStorePlugin is a symfony plugin that provides models (categories and products objects), modules and others features to manage a real catalog for a online store.

With this plugin you will can:

  • Manage product categories:
    • Name.
    • Descripcion.
    • Sortable via ajax.
  • Manage products for your catalog online:
    • Name, description, price.
    • Avalibility.
    • One Image.

Dependencies

This plugin doesn't have strict dependencies, but needs the following to work:

Also, we recommend use the catalog backend with sfAdminDashPlugin plugin.

Installation

You have two different ways to install this plugin:

  • Via a package

    symfony plugin:install ddOnlineStorePlugin

  • Via a Subversion checkout

    svn co http//svn.symfony-project.com/plugins/ddOnlineStorePlugin/trunk plugins/ddOnlineStorePlugin

General Setup

  • Activate the plugin in the config/ProjectConfiguration.class.php

    [php] class ProjectConfiguration extends sfProjectConfiguration { public function setup() { $this->enablePlugins(array( //System plugins 'sfDoctrinePlugin', '...',

    //ddOnlineStorePlugin plugins
    'sfJqueryReloadedPlugin',
    'sfJqueryTreeDoctrineManagerPlugin',
    'sfImageTransformPlugin',
    'ddOnlineStorePlugin'
    ));
    

    } }

  • Publish assets

    symfony plugin:publish-assets

  • Rebuild your model, create the database, and insert sql with test data.

    symfony doctrine:build --all --and-load --no-confirmation

  • Clear you cache

    symfony cc

Backend Setup

To setup the backend to manage the catalog, you have to do this:

  • Enable one or more modules in your settings.yml all: .settings: enabled_modules: [ default, ..., ddOnlineStoreAdminCategory, ddOnlineStoreAdminProducts ]

  • Configure the plugin. All settings of the plugin are in:

    plugins/ddOnlineStorePlugin/config/app.yml

  • Clear you cache

    symfony cc