This commit is contained in:
merdan 2022-04-07 16:34:32 +05:00
parent fdd789240b
commit 2cd0e2b7c8
2 changed files with 9 additions and 6 deletions

View File

@ -15,9 +15,9 @@ class EventServiceProvider extends ServiceProvider
*/
public function boot(): void
{
// Event::listen('bagisto.admin.catalog.product.edit_form_accordian.additional_views.before', function($viewRenderEventManager){
// $viewRenderEventManager->addTemplate('brand::admin.catalog.products.fields.brand');
//
// });
Event::listen('bagisto.admin.catalog.product.edit_form_accordian.additional_views.before', function($viewRenderEventManager){
$viewRenderEventManager->addTemplate('brand::admin.catalog.products.fields.brand');
});
}
}

View File

@ -10,7 +10,7 @@
.content-container .content .page-header .page-title{
width: 100%;
}
.content-container .content .page-header .page-title .control-group {
margin-top: 20px!important;
width: 100%!important;
@ -21,7 +21,7 @@
margin-top: 10px!important;
float: left;
}
}
}
</style>
@endpush
@ -104,6 +104,9 @@
if ($attribute->code == 'guest_checkout' && ! core()->getConfigData('catalog.products.guest-checkout.allow-guest-checkout')) {
continue;
}
if($attribute->code=='brand'){
continue;
}
$validations = [];