diff --git a/src/services/Csv.php b/src/services/Csv.php index 201cfe7..d0a4351 100644 --- a/src/services/Csv.php +++ b/src/services/Csv.php @@ -99,10 +99,6 @@ public function import(string $filename, string $csvData, ?string $productTypeHa if ($product->isNewForSite) { $variants = $this->normalizeNewProductImport($tabularDataReader, $mapping); - - if (Product::find()->slug($product->slug)->exists()) { - throw new \RuntimeException("Product with slug '{$product->slug}' already exists"); - } } else { if ($refreshVariants) { $variants = Variant::find()->product($product)->all();