diff --git a/LittleShop/Services/ProductImportService.cs b/LittleShop/Services/ProductImportService.cs index 447f19d..d550a78 100644 --- a/LittleShop/Services/ProductImportService.cs +++ b/LittleShop/Services/ProductImportService.cs @@ -683,6 +683,10 @@ public class ProductImportService : IProductImportService VariantType = variantType }; + _logger.LogInformation( + "Creating variant: Name={Name}, Price={Price}, Stock={Stock}, Type={Type}", + variantValue, priceOverride, stockQuantity, variantType); + await _productService.CreateProductVariantAsync(variantDto); } diff --git a/blank.csv b/blank.csv new file mode 100644 index 0000000..0b5b398 --- /dev/null +++ b/blank.csv @@ -0,0 +1 @@ +Name,Description,Price,Weight,WeightUnit,StockQuantity,CategoryName,IsActive,Variations,PhotoUrls