diff --git a/packages/admin/src/Filament/Resources/ProductResource/Pages/ManageProductIdentifiers.php b/packages/admin/src/Filament/Resources/ProductResource/Pages/ManageProductIdentifiers.php index e2e1613ae..6e2215dbd 100644 --- a/packages/admin/src/Filament/Resources/ProductResource/Pages/ManageProductIdentifiers.php +++ b/packages/admin/src/Filament/Resources/ProductResource/Pages/ManageProductIdentifiers.php @@ -94,7 +94,12 @@ public function form(Form $form): Form return $form->schema([ Section::make()->schema([ - ProductVariantResource::getSkuFormComponent()->live(), + ProductVariantResource::getSkuFormComponent() + ->live()->unique( + table: fn () => $variant->getTable(), + ignorable: $variant, + ignoreRecord: true, + ), ProductVariantResource::getGtinFormComponent(), ProductVariantResource::getMpnFormComponent(), ProductVariantResource::getEanFormComponent(),