Manage and display your products manufacturers in Sylius.
$ composer require behappy/manufacturer-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
...
Simply launch
php bin/console doctrine:schema:update --dump-sql --force
You now have a new entry in Admin under configuration tab : Manufacturer
There you can configure your manufacturers, add a logo and description
In the product form, under 'association' tab, you can now link the product to your manufacturer.
You can also ask your questions at the mail address in the composer.json mentioning this package.
You can also check our other packages (including Sylius plugins) at https://github.com/BeHappyCommunication