littleshop/TeleBot/TeleBot
SysAdmin cb80e0161c Fix: Variant selection now requires choosing from ALL variant types
Problem:
- Product with Size + Color only required selecting 1 variant total
- User could add to cart after selecting just Size OR Color, not both

Root Cause:
- Logic checked if selectedVariants.Count == 1 for single items
- Didn't verify that all variant types were covered

Fix:
- For single items: Check that each variant type has at least one selection
- Logic: variantGroups.All(g => g.Any(v => selectedVariants.Contains(v.Name)))
- For multi-buy: Keep existing logic (total count == quantity)

Now users must select:
- Size + Color products: Must pick both Size AND Color
- Size only products: Must pick Size only
- Etc.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 02:11:06 +01:00
..
Controllers Configure BTCPay with external nodes via Tor 2025-09-19 12:14:39 +01:00
Handlers Fix: Message threading - navigation now sends new messages at bottom 2025-10-06 00:44:28 +01:00
Http Fix: Update all TOR proxy configurations to support TorSocksHost 2025-10-03 12:48:07 +01:00
Models Feature: Add postal address memory with user preference 2025-10-06 00:38:47 +01:00
Services TeleBot-variant-pricing 2025-10-03 19:36:52 +01:00
UI Fix: Variant selection now requires choosing from ALL variant types 2025-10-06 02:11:06 +01:00
appsettings.json Fix: Currency display consistency and remove PGP security vulnerability 2025-10-03 17:36:10 +01:00
BotConfig.cs Configure BTCPay with external nodes via Tor 2025-09-19 12:14:39 +01:00
BotScript.cs Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
CAROUSEL_FEATURE.md Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
Dockerfile Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
Program.cs "Fix-TOR-proxy-host-configuration-in-LittleShop-Client" 2025-10-03 16:22:21 +01:00
TeleBot.csproj Update TeleBot configuration and add versioning 2025-09-27 09:50:12 +01:00
TelegramBot.cs Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
TelegramBotService.cs Fix: Update all TOR proxy configurations to support TorSocksHost 2025-10-03 12:48:07 +01:00
test-wizard-result.html Add customer communication system 2025-08-27 18:02:39 +01:00
TestCarousel.cs "Fix-Use-short-IDs-for-product-buttons-and-simplify-to-Buy-button" 2025-10-03 15:48:54 +01:00
TOR-DEPLOYMENT-GUIDE.md CI/CD: Add GitLab CI/CD pipeline for Hostinger deployment 2025-10-01 13:10:48 +01:00
wizard-page.html Add customer communication system 2025-08-27 18:02:39 +01:00
wizard-result.html Add customer communication system 2025-08-27 18:02:39 +01:00
wizard-test.txt Add customer communication system 2025-08-27 18:02:39 +01:00