littleshop/LittleShop/Models
SysAdmin 034b8facee Implement product multi-buys and variants system
Major restructuring of product variations:
- Renamed ProductVariation to ProductMultiBuy for quantity-based pricing (e.g., "3 for £25")
- Added new ProductVariant model for string-based options (colors, flavors)
- Complete separation of multi-buy pricing from variant selection

Features implemented:
- Multi-buy deals with automatic price-per-unit calculation
- Product variants for colors/flavors/sizes with stock tracking
- TeleBot checkout supports both multi-buys and variant selection
- Shopping cart correctly calculates multi-buy bundle prices
- Order system tracks selected variants and multi-buy choices
- Real-time bot activity monitoring with SignalR
- Public bot directory page with QR codes for Telegram launch
- Admin dashboard shows multi-buy and variant metrics

Technical changes:
- Updated all DTOs, services, and controllers
- Fixed cart total calculation for multi-buy bundles
- Comprehensive test coverage for new functionality
- All existing tests passing with new features

Database changes:
- Migrated ProductVariations to ProductMultiBuys
- Added ProductVariants table
- Updated OrderItems to track variants

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 00:30:12 +01:00
..
Bot.cs Add customer communication system 2025-08-27 18:02:39 +01:00
BotActivity.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
BotContact.cs Configure BTCPay with external nodes via Tor 2025-09-19 12:14:39 +01:00
BotMetric.cs Add customer communication system 2025-08-27 18:02:39 +01:00
BotSession.cs Add customer communication system 2025-08-27 18:02:39 +01:00
Category.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
CryptoPayment.cs Remove BTCPay completely, integrate SilverPAY only, configure TeleBot with real token 2025-09-20 19:22:29 +01:00
Customer.cs Add customer communication system 2025-08-27 18:02:39 +01:00
CustomerMessage.cs Add customer communication system 2025-08-27 18:02:39 +01:00
Order.cs Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
OrderItem.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
Product.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
ProductMultiBuy.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
ProductPhoto.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
ProductVariant.cs Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
PushSubscription.cs WebPush-and-photo-upload-fixes 2025-09-01 06:01:05 +01:00
Review.cs Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
ShippingRate.cs Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
User.cs Remove BTCPay completely, integrate SilverPAY only, configure TeleBot with real token 2025-09-20 19:22:29 +01:00