Provides a way to create datas for your selling company on Sylius.
This plugin does not provide any useful functionality as is. It is a dependency point for other plugins.
$ composer require behappy/company-data-plugin
// in app/AppKernel.php
public function registerBundles() {
$bundles = array(
// ...
new BeHappy\SyliusCompanyDataPlugin\BeHappySyliusCompanyDataPlugin(),
...
);
// ...
}
#in app/config/config.yml
imports:
...
- { resource: "@BeHappySyliusCompanyDataPlugin/Resources/config/config.yml" }
...
# in routing.yml
...
behappy_company_data_plugin:
resource: '@BeHappySyliusCompanyDataPlugin/Resources/config/routing.yml'
...
Simply launch
php bin/console doctrine:schema:update --dump-sql --force
You now have a new entry in Admin under configuration tab : Company data
There you can configure your company(ies) data(s) in order to be used by other plugins.
This plugin is partially inspired by BitBagCommerce/SyliusInvoicingPlugin (https://github.com/BitBagCommerce/SyliusInvoicingPlugin).
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