diff --git a/packages/admin/src/Filament/Resources/ProductTypeResource.php b/packages/admin/src/Filament/Resources/ProductTypeResource.php index 86974f6037..97aed34bdf 100644 --- a/packages/admin/src/Filament/Resources/ProductTypeResource.php +++ b/packages/admin/src/Filament/Resources/ProductTypeResource.php @@ -66,7 +66,9 @@ public static function form(Forms\Form $form): Forms\Form ->relationship(name: 'mappedAttributes') ->label('') ->columnSpan(2), - ]), + ])->visible( + config('lunar.panel.enable_variants', false) + ), ])->columnSpan(2), ]);