2017 © Pedro Peláez
 

sylius-plugin catalog-promotion-plugin

Add catalog promotion to sylius application.

image

snake-tn/catalog-promotion-plugin

Add catalog promotion to sylius application.

  • Wednesday, October 4, 2017
  • by Snake-Tn
  • Repository
  • 2 Watchers
  • 9 Stars
  • 210 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 4 Open issues
  • 3 Versions
  • 8 % Grown

The README.md

Catalog promotion plugin for sylius

About

Catalog promotion is a sylius plugin used to selectively apply promotions on certain products. The promotion is triggered before a product is placed into the shipping cart., (*1)

Setting up the plugin

1) Download the plugin

$ composer require snake-tn/catalog-promotion-plugin

2) Enable the plugin

Enable the plugin by adding the following line in the app/AppKernel.php file of your sylius project:, (*2)

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new \SnakeTn\CatalogPromotion\CatalogPromotionPlugin(),
        ];

        // ...
    }
}

3) Update routing configuration

Add the following routing config to your app/config/routing.yml file of your sylius project: yaml catalog_promotion_admin: prefix: /admin resource: "@CatalogPromotionPlugin/Resources/config/routing.yml", (*3)

3) Update DB schema

$ bin/console doctrine:schema:update --force

4) Cleare cache

$ bin/console cache:clear

The Versions

04/10 2017

dev-master

9999999-dev

Add catalog promotion to sylius application.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmed Kooli

symfony sylius

04/10 2017

v1.0.1

1.0.1.0

Add catalog promotion to sylius application.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmed Kooli

symfony sylius

21/08 2017

v1.0.0

1.0.0.0

Add catalog promotion to sylius application.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ahmed Kooli

symfony sylius