2017 © Pedro PelĂĄez
 

sylius-plugin manufacturer-plugin

A plugin to manage products manufacturers in Sylius.

image

behappy/manufacturer-plugin

A plugin to manage products manufacturers in Sylius.

  • Monday, July 2, 2018
  • by Roshyo
  • Repository
  • 3 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

sylius-manufacturer-plugin

Manage and display your products manufacturers in Sylius., (*1)

Installation-procedure

$ composer require behappy/manufacturer-plugin

Enable the plugin

// in app/AppKernel.php
public function registerBundles() {
    $bundles = array(
        // ...
        new BeHappy\SyliusManufacturerPlugin\BeHappySyliusManufacturerPlugin(),
        ...
    );
    // ...
}
#in app/config/config.yml
imports:
    ...
    - { resource: "@BeHappySyliusManufacturerPlugin/Resources/config/config.yml" }
    ...
# in routing.yml
...

behappy_manufacturer_admin:
    resource: '@BeHappySyliusManufacturerPlugin/Resources/config/routing/admin.yml'
    prefix: /admin
...

Generate database

Simply launch, (*2)

php bin/console doctrine:schema:update --dump-sql --force

That's it !

You now have a new entry in Admin under configuration tab : Manufacturer, (*3)

There you can configure your manufacturers, add a logo and description, (*4)

In the product form, under 'association' tab, you can now link the product to your manufacturer., (*5)

Feel free to contribute

You can also ask your questions at the mail address in the composer.json mentioning this package., (*6)

Other

You can also check our other packages (including Sylius plugins) at https://github.com/BeHappyCommunication, (*7)

The Versions