This commit is contained in:
merdan 2023-01-11 15:09:30 +05:00
parent 5861452246
commit 92356bc1bf
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
return [
'simple' => [
'key' => 'simple',
'name' => 'Simple',
'class' => 'Webkul\Product\Type\Simple',
'sort' => 1,
],
'configurable' => [
'key' => 'configurable',
'name' => 'Configurable',
'class' => 'Webkul\Product\Type\Configurable',
'sort' => 2,
]
];

View File

@ -36,6 +36,7 @@ class AdminServiceProvider extends ServiceProvider
public function register() public function register()
{ {
$this->mergeConfigFrom(dirname(__DIR__) . '/Config/product_types.php', 'product_types');
$this->mergeConfigFrom( $this->mergeConfigFrom(
dirname(__DIR__) . '/Config/menu.php', dirname(__DIR__) . '/Config/menu.php',
'menu.admin' 'menu.admin'