littleshop/LittleShop/Services
SysAdmin e931f772fb Fix: Remove filtered Include for variants - EF Core not executing JOIN
Critical bug where ProductVariants were never loaded from database.

**Problem:**
`.Include(p => p.Variants.Where(v => v.IsActive))` syntax was NOT
generating SQL JOIN statements in EF Core 9.0, causing all products
to return empty variants array even when variants exist in database.

**Solution:**
- Changed to simple `.Include(p => p.Variants)`
- Filtering still happens in DTO mapping (Select statement)
- Only IsActive variants are returned to API consumers

**Impact:**
- TeleBot can now display product variants with selection UI
- Variant pricing and stock levels now visible to customers
- Multi-variant products (e.g., Size/Color) now functional

**Test Case:**
Product 131cc3ad-07f4-4ec9-89ca-b05a0b4cfb41 has 7 variants:
- Size: Small, Medium, Large, XL
- Color: Black, White, Navy Blue
These will now appear in API responses and TeleBot UI.

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-04 15:23:43 +01:00
..
AuthService.cs 🔒 SECURITY: Emergency fixes and hardening 2025-09-22 05:45:49 +01:00
BotActivityService.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
BotContactService.cs Implement comprehensive notification system for LittleShop 2025-09-19 16:17:24 +01:00
BotMetricsService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
BotService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
CategoryService.cs Fix: Categories Edit IsActive checkbox now works both ways 2025-10-03 13:48:56 +01:00
ConfigurationValidationService.cs Feature: Add elegant PWA loading screen 2025-10-02 16:39:47 +01:00
CryptoPaymentService.cs Fix SilverPay payment integration JSON serialization 2025-09-22 04:38:28 +01:00
CustomerMessageService.cs Implement bidirectional customer conversations with customer-based grouping and order tagging 2025-08-27 19:18:46 +01:00
CustomerService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
DataSeederService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
IAuthService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
IBotActivityService.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
IBotMetricsService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
IBotService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
ICategoryService.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
ICryptoPaymentService.cs Remove BTCPay completely, integrate SilverPAY only, configure TeleBot with real token 2025-09-20 19:22:29 +01:00
ICustomerMessageService.cs Implement bidirectional customer conversations with customer-based grouping and order tagging 2025-08-27 19:18:46 +01:00
ICustomerService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
IOrderService.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
IProductService.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
IPushNotificationService.cs WebPush-and-photo-upload-fixes 2025-09-01 06:01:05 +01:00
ISilverPayService.cs 🔒 SECURITY: Emergency fixes and hardening 2025-09-22 05:45:49 +01:00
ISystemSettingsService.cs 🔒 SECURITY: Emergency fixes and hardening 2025-09-22 05:45:49 +01:00
ITeleBotMessagingService.cs Implement comprehensive notification system for LittleShop 2025-09-19 16:17:24 +01:00
ITelegramBotManagerService.cs Add customer communication system 2025-08-27 18:02:39 +01:00
IVariantCollectionService.cs Add variant collections system and enhance ProductVariant with weight/stock tracking 2025-09-28 17:03:09 +01:00
MessageDeliveryService.cs Implement comprehensive notification system for LittleShop 2025-09-19 16:17:24 +01:00
OrderService.cs Feature: Add product variant price override support 2025-10-03 18:35:43 +01:00
ProductImportService.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
ProductService.cs Fix: Remove filtered Include for variants - EF Core not executing JOIN 2025-10-04 15:23:43 +01:00
PushNotificationService.cs BTCPay-infrastructure-recovery 2025-09-04 21:28:47 +01:00
ReviewService.cs Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
RoyalMailService.cs "Royal-Mail-shipping-integration-and-test-improvements" 2025-09-08 03:53:28 +01:00
ShippingRateService.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
SilverPayService.cs Fix SilverPay payment creation - use fiat_amount instead of amount 2025-09-24 21:08:16 +01:00
SystemSettingsService.cs 🔒 SECURITY: Emergency fixes and hardening 2025-09-22 05:45:49 +01:00
TeleBotMessagingService.cs Implement comprehensive notification system for LittleShop 2025-09-19 16:17:24 +01:00
TelegramBotManagerService.cs "Fix-security-and-config-from-TestAgent" 2025-08-27 22:41:18 +01:00
VariantCollectionService.cs Add variant collections system and enhance ProductVariant with weight/stock tracking 2025-09-28 17:03:09 +01:00