nitra / e-commerce-admin-accessoriesbundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
nep admin accessories bundle
v2.0.0
2015-02-11 13:55 UTC
This package is auto-updated.
Last update: 2018-04-08 17:32:16 UTC
README
Описание
данный бандл предназначен для:
- создания коллекции аксессуаров на товары, категории и бренды
Подключение
- composer.json
{
...
"require": {
...
"nitra/e-commerce-admin-accessoriesbundle": "dev-master",
...
}
...
}
- app/AppKernel.php
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
//...
public function registerBundles()
{
//...
$bundles = array(
//...
new Nitra\AccessoriesBundle\NitraAccessoriesBundle(),
//...
);
//...
return $bundles;
}
//...
}
- routing.yml
nitra_accessories:
resource: "@NitraAccessoriesBundle/Resources/config/routing.yml"
prefix: /{_locale}/
defaults:
_locale: ru
requirements:
_locale: en|ru
- menu.yml
accessories:
translateDomain: 'menu'
route: Nitra_AccessoriesBundle_Accessorie_list