behappy/manufacturer-plugin

A plugin to manage products manufacturers in Sylius.

Maintainers

👁 Roshyo

Package info

github.com/BeHappyCommunication/SyliusManufacturerPlugin

Type:sylius-plugin

pkg:composer/behappy/manufacturer-plugin

Statistics

Installs: 164

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

dev-master 2018-07-02 07:01 UTC

MIT 454e203a344370e98eace03900f84576eb7b0ebd

This package is not auto-updated.

Last update: 2026-06-24 12:17:11 UTC


README

Manage and display your products manufacturers in Sylius.

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

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

That's it !

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.

Feel free to contribute

You can also ask your questions at the mail address in the composer.json mentioning this package.

Other

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